send vlaue

This commit is contained in:
cutestnekoaqua 2023-03-30 18:05:39 +02:00
parent 021e86a0ab
commit 01b9dad61d
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -119,7 +119,7 @@ const exportNotes = () => {
const importPosts = async (ev) => {
const file = await selectFile(ev.currentTarget ?? ev.target);
os.api('i/import-posts', { fileId: file.id, signatureCheck: signatureCheck }).then(onImportSuccess).catch(onError);
os.api('i/import-posts', { fileId: file.id, signatureCheck: signatureCheck.value }).then(onImportSuccess).catch(onError);
};
const exportFollowing = () => {