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:
commit
1f7ca63d39
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue