Disable signature check

This commit is contained in:
DVD 2023-07-12 09:26:15 +08:00
parent cd66f859ab
commit 576e4121be
No known key found for this signature in database
GPG key ID: 17C8715EFC9A5D4A

View file

@ -222,7 +222,7 @@ const importPosts = async (ev) => {
const file = await selectFile(ev.currentTarget ?? ev.target);
os.api("i/import-posts", {
fileId: file.id,
signatureCheck: importType.value === "mastodon" ? true : false,
signatureCheck: false,
})
.then(onImportSuccess)
.catch(onError);