diff --git a/package-lock.json b/package-lock.json index 8ef7ee6..609620a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "src", - "version": "2024.7.0", + "version": "2024.7.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "src", - "version": "2024.7.0", + "version": "2024.7.1", "hasInstallScript": true, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.1", diff --git a/package.json b/package.json index d0e683c..9bd801b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "src", "private": true, - "version": "2024.7.0", + "version": "2024.7.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src/lib/CreatePublisher.svelte b/src/lib/CreatePublisher.svelte index 1caa05d..a45d13e 100644 --- a/src/lib/CreatePublisher.svelte +++ b/src/lib/CreatePublisher.svelte @@ -91,12 +91,12 @@ }) } - const appRes = await postApplication(pubRes.id, postAppBody) + const appRes = await postApplication(pubRes.profile.id, postAppBody) if((serverCanFetchLogo && sendImageUri) || (serverCanFetchDarkLogo && sendDarkImageUri)){ if(serverCanFetchLogo && sendImageUri) { try { // const resizedImageBlob = await resizeImage(sessionStorage.image_uri) - const image_uri = await postImage(pubRes.id, appRes.id, sessionStorage.image_uri) + const image_uri = await postImage(pubRes.profile.id, appRes.id, sessionStorage.image_uri) appRes.image_uri = image_uri } catch(e) { console.error(e) @@ -105,13 +105,13 @@ if(serverCanFetchDarkLogo && sendDarkImageUri) { try { // const resizedImageBlob = await resizeImage(sessionStorage.dark_image_uri) - const image_uri = await postImage(pubRes.id, appRes.id, sessionStorage.dark_image_uri) + const image_uri = await postImage(pubRes.profile.id, appRes.id, sessionStorage.dark_image_uri) appRes.dark_image_uri = image_uri } catch(e) { console.error(e) } } - const updateApp = await putApplication(pubRes.id, appRes.id, appRes) + const updateApp = await putApplication(pubRes.profile.id, appRes.id, appRes) } client_id = appRes.id } catch(err){