diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index d6915a1..bf80bc7 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -470,7 +470,7 @@ const useStorage = defineStore('storageStore', () => { upload: !!file, }, ) - if (res && res.status === 204 && res.data && res.data.uploadUrl) { + if (res && res.status === 200 && res.data && res.data.uploadUrl) { await axios .put(res.data.uploadUrl, file, { headers: { 'Content-Type': file?.type },