diff --git a/packages/core/src/utils/fetch.ts b/packages/core/src/utils/fetch.ts index bcc7c98f..0f0a33a0 100644 --- a/packages/core/src/utils/fetch.ts +++ b/packages/core/src/utils/fetch.ts @@ -114,7 +114,7 @@ export const fetchFencePresignedURL = async ({ throw new HTTPError(response.status, errorMessage, errorData); } - return await response.json(); + return (await response.json())['url']; } catch (error: unknown) { if (error instanceof Error) { if (error.name === 'AbortError') {