Skip to content

Commit

Permalink
fix(flat-server-api): update api
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Aug 22, 2022
1 parent e2eb82b commit 606a17f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/flat-server-api/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export interface ListFilesResult {

export async function listFiles(payload: ListFilesPayload): Promise<ListFilesResult> {
const { totalUsage, files } = await post<undefined, ListFilesResponse>(
"cloud-storage/list",
undefined,
payload,
`cloud-storage/list?page=${payload.page}&order=${payload.order}`,
);
return {
totalUsage,
Expand Down

0 comments on commit 606a17f

Please sign in to comment.