fix(backend): not fully commented

This commit is contained in:
ltlapy 2023-03-06 10:58:52 +09:00
parent bb72e0a40b
commit 194571b2a7

View file

@ -22,18 +22,18 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
// });
// return;
// }
const { canceled, result: listId } = await os.select({
title: t,
items: lists.map(list => ({
value: list.id, text: list.name,
})),
});
if (canceled) return;
os.apiWithDialog('users/lists/push', {
listId: listId,
userId: user.id,
});
}
// const { canceled, result: listId } = await os.select({
// title: t,
// items: lists.map(list => ({
// value: list.id, text: list.name,
// })),
// });
// if (canceled) return;
// os.apiWithDialog('users/lists/push', {
// listId: listId,
// userId: user.id,
// });
// }
async function inviteGroup() {
const groups = await os.api('users/groups/owned');