fix(frontend): importFollowing error

This commit is contained in:
anatawa12 2023-10-16 17:43:59 +09:00
parent da5a0b5336
commit bc554fb40b
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 4 additions and 1 deletions

View File

@ -182,7 +182,10 @@ const exportAntennas = () => {
const importFollowing = async (ev) => {
const file = await selectFile(ev.currentTarget ?? ev.target);
os.api('i/import-following', { fileId: file.id, withReplies }).then(onImportSuccess).catch(onError);
os.api('i/import-following', {
fileId: file.id,
withReplies: withReplies.value,
}).then(onImportSuccess).catch(onError);
};
const importUserLists = async (ev) => {