mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 18:13:09 +02:00
fix test
This commit is contained in:
parent
29a84230b0
commit
95e7e003fd
2 changed files with 1 additions and 2 deletions
|
@ -412,7 +412,7 @@ export class UserEntityService implements OnModuleInit {
|
||||||
userId: meId,
|
userId: meId,
|
||||||
targetUserId: user.id,
|
targetUserId: user.id,
|
||||||
}).then(row => row?.memo ?? null),
|
}).then(row => row?.memo ?? null),
|
||||||
moderationNote: iAmModerator ? (profile!.moderationNote ?? '') : null,
|
moderationNote: iAmModerator ? (profile!.moderationNote ?? '') : undefined,
|
||||||
} : {}),
|
} : {}),
|
||||||
|
|
||||||
...(opts.detail && isMe ? {
|
...(opts.detail && isMe ? {
|
||||||
|
|
|
@ -112,7 +112,6 @@ describe('ユーザー', () => {
|
||||||
securityKeys: user.securityKeys,
|
securityKeys: user.securityKeys,
|
||||||
roles: user.roles,
|
roles: user.roles,
|
||||||
memo: user.memo,
|
memo: user.memo,
|
||||||
moderationNote: user.moderationNote,
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue