fix(frontend): importFollowing error
This commit is contained in:
parent
da5a0b5336
commit
bc554fb40b
|
|
@ -182,7 +182,10 @@ const exportAntennas = () => {
|
||||||
|
|
||||||
const importFollowing = async (ev) => {
|
const importFollowing = async (ev) => {
|
||||||
const file = await selectFile(ev.currentTarget ?? ev.target);
|
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) => {
|
const importUserLists = async (ev) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue