Merge pull request '[PR]: Fixes Post Import from Certain Mastodon Instances' (#10473) from dvd/calckey:fix/post-import into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10473
This commit is contained in:
Kainoa Kanter 2023-07-16 20:51:47 +00:00
commit 1f7ca63d39

View File

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