mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-04-04 22:43:40 +08:00
fix from leftover testing
This commit is contained in:
parent
77bf5c15bb
commit
a5851ca31c
@ -93,7 +93,7 @@ export const useClientSideUpload = () => {
|
||||
}),
|
||||
}).then((res) => res.json());
|
||||
|
||||
if (isPresignedUrlResponse(response)) {
|
||||
if (!isPresignedUrlResponse(response)) {
|
||||
throw new Error('Invalid response');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user