Skip to content

Commit b4e6ef4

Browse files
committed
addresses review feedback
1 parent 743db7a commit b4e6ef4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/schema/tenantsUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Connection from '../connection';
22
import { CommandBase } from '../validation/commandBase';
33
import { Tenant } from '../openapi/types';
44

5-
export default class TenantsCreator extends CommandBase {
5+
export default class TenantsUpdater extends CommandBase {
66
private className: string;
77
private tenants: Array<Tenant>;
88

tools/refresh_schema.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
set -euo pipefail
44

5-
var="${1:-master}"
6-
npx openapi-typescript https://raw.githubusercontent.com/weaviate/weaviate/${var}/openapi-specs/schema.json -o ./src/openapi/schema.ts
5+
branchOrTag="${1:-master}"
6+
npx openapi-typescript https://raw.githubusercontent.com/weaviate/weaviate/${branchOrTag}/openapi-specs/schema.json -o ./src/openapi/schema.ts
77
npx prettier --write --no-error-on-unmatched-pattern './src/openapi/schema.ts'

0 commit comments

Comments
 (0)