Skip to content

Commit 50a0282

Browse files
committed
feat: updates createSignedURL to return full URL
fixes #148
1 parent 490e657 commit 50a0282

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/storage/StorageFileApi.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ export class StorageFileApi {
145145
{ expiresIn },
146146
{ headers: this.headers }
147147
)
148-
const signedUrl = `${this.url}${data.signedUrl}`
149-
data = { ...data, signedUrl }
148+
data = { signedURL: `${this.url}${data.signedURL}` }
150149
return { data, error: null }
151150
} catch (error) {
152151
return { data: null, error }

0 commit comments

Comments
 (0)