Skip to content

Commit

Permalink
fix: template replacers
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Nov 19, 2024
1 parent a9519aa commit 9201b1f
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 9201b1f

Please sign in to comment.