Skip to content

Commit

Permalink
API fix according to swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
doracretu3pillar committed Nov 5, 2024
1 parent daa43d5 commit dba597d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const RestoreHistoryService = {
},
async getLogs(artefactId: string, offset: number, limit: number, cancelToken?: CancelToken): Promise<BackupLogs> {
const { logs = [], end } = await api.get<BackupLogResponse, { offset: number; limit: number }>(
`${BASE_URL}/${artefactId}/logs`,
`${BASE_URL}/restores/${artefactId}/logs`,
false,
{ cancelToken, params: { offset, limit } }
);
Expand Down

0 comments on commit dba597d

Please sign in to comment.