Disable signature check

This commit is contained in:
DVD 2023-07-12 09:26:15 +08:00
parent 89c1ddd27c
commit 68bade8532

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);