Skip to content

Commit

Permalink
fix(duplicate source): renamed logical index param
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgauthier committed May 12, 2022
1 parent 7830b28 commit 9fbb3c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/Sources/Sources.ts
Expand Up @@ -81,9 +81,9 @@ export default class Sources extends Resource {
return this.api.post<{value: boolean}>(`${Sources.baseUrl}/${sourceId}/dump`);
}

duplicate(sourceId: string, newSourceName: string, logicalIndex?: string) {
duplicate(sourceId: string, newSourceName: string, logicalIndexId?: string) {
return this.api.post<SourceModel>(
this.buildPath(`${Sources.baseUrl}/${sourceId}/duplicate`, {newSourceName, logicalIndex})
this.buildPath(`${Sources.baseUrl}/${sourceId}/duplicate`, {newSourceName, logicalIndexId})
);
}

Expand Down

0 comments on commit 9fbb3c9

Please sign in to comment.