We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037debb commit 71d1ab9Copy full SHA for 71d1ab9
packages/core/storage-js/src/packages/StorageFileApi.ts
@@ -252,7 +252,11 @@ export default class StorageFileApi extends BaseApiClient<StorageError> {
252
253
return this.handleOperation(async () => {
254
let body
255
- const options = { ...DEFAULT_FILE_OPTIONS, upsert: DEFAULT_FILE_OPTIONS.upsert, ...fileOptions }
+ const options = {
256
+ ...DEFAULT_FILE_OPTIONS,
257
+ upsert: DEFAULT_FILE_OPTIONS.upsert,
258
+ ...fileOptions,
259
+ }
260
let headers: Record<string, string> = {
261
...this.headers,
262
...{ 'x-upsert': String(options.upsert as boolean) },
0 commit comments