mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 11:35:35 +02:00
Resolve #1669
This commit is contained in:
@@ -268,7 +268,7 @@ export default define(meta, async (ps, user, app) => {
|
||||
//#endregion
|
||||
|
||||
if (Object.keys(updates).length > 0) await Users.update(user.id, updates);
|
||||
if (Object.keys(profileUpdates).length > 0) await UserProfiles.update({ userId: user.id }, profileUpdates);
|
||||
if (Object.keys(profileUpdates).length > 0) await UserProfiles.update(user.id, profileUpdates);
|
||||
|
||||
const iObj = await Users.pack(user.id, user, {
|
||||
detail: true,
|
||||
|
||||
Reference in New Issue
Block a user