Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/biothings/smartapi-kg.js in…
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
tokebe committed Nov 19, 2024
2 parents e891b00 + 9201b1f commit a86f304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/load/single_spec_async_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SmartAPISpec } from "../parser/types";
export default class SingleSpecAsyncLoader extends BaseAsyncLoader {
private _smartapi_id: string;
constructor(smartAPIID: string) {
super(SINGLE_API_SMARTAPI_QUERY_TEMPLATE.replace("{smartAPIID}", smartAPIID));
super(SINGLE_API_SMARTAPI_QUERY_TEMPLATE.replace("{smartapi_id}", smartAPIID));
this._smartapi_id = smartAPIID;
}

Expand Down
2 changes: 1 addition & 1 deletion src/load/team_specs_async_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SmartAPISpec } from "../parser/types";

export default class TeamSpecsAsyncLoader extends BaseAsyncLoader {
constructor(teamName: string) {
super(TEAM_SMARTAPI_QUERY_TEMPLATE.replace("{teamName}", teamName));
super(TEAM_SMARTAPI_QUERY_TEMPLATE.replace("{team_name}", teamName));
}

protected async fetch(): Promise<SmartAPIQueryResult> {
Expand Down

0 comments on commit a86f304

Please sign in to comment.