mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-22 21:43:42 -04:00
fix save icon
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
if (faviconInputElement.files !== null && faviconInputElement.files?.length > 0) {
|
||||
let form = new FormData();
|
||||
form.append('favicon', faviconInputElement.files[0]);
|
||||
await $pocketbase.collection('settings_public').update(settingsPubClone.id, form);
|
||||
const res = await $pocketbase.collection('settings_public').update(settingsPubClone.id, form);
|
||||
settingsPub.set(res as SettingsPublic);
|
||||
}
|
||||
const res = await $pocketbase
|
||||
.collection('settings_public')
|
||||
|
||||
Reference in New Issue
Block a user