Skip to content

Commit

Permalink
add id and fullPath to update and upload functions response (#190)
Browse files Browse the repository at this point in the history
Update return interface in upload and update functions
  • Loading branch information
simonsayssa authored Dec 19, 2023
1 parent d4d06b2 commit 68a6197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/StorageFileApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default class StorageFileApi {
fileOptions?: FileOptions
): Promise<
| {
data: { path: string }
data: { id: string, path: string, fullPath: string }
error: null
}
| {
Expand Down Expand Up @@ -282,7 +282,7 @@ export default class StorageFileApi {
fileOptions?: FileOptions
): Promise<
| {
data: { path: string }
data: { id: string, path: string, fullPath: string }
error: null
}
| {
Expand Down

0 comments on commit 68a6197

Please sign in to comment.