mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
@@ -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 }),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user