fix: assert/asserts (#521)

This commit is contained in:
Hayden 2023-07-31 06:05:37 -08:00 committed by GitHub
parent c5ae6b17f9
commit 02ce52dbe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import { PaginationResult } from "../types/non-generated";
export class AssetsApi extends BaseAPI {
async get(id: string, page = 1, pageSize = 50) {
return await this.http.get<PaginationResult<ItemSummary>>({
url: route(`/asset/${id}`, { page, pageSize }),
url: route(`/assets/${id}`, { page, pageSize }),
});
}
}