wip
This commit is contained in:
parent
a87b99b41b
commit
d17f4d52c9
|
|
@ -2250,12 +2250,14 @@ export interface Locale {
|
|||
};
|
||||
};
|
||||
"_moderationLogTypes": {
|
||||
"roleAssigned": string;
|
||||
"roleUnassigned": string;
|
||||
"roleUpdated": string;
|
||||
"assignRole": string;
|
||||
"unassignRole": string;
|
||||
"updateRole": string;
|
||||
"suspend": string;
|
||||
"unsuspend": string;
|
||||
"addEmoji": string;
|
||||
"addCustomEmoji": string;
|
||||
"updateServerSettings": string;
|
||||
"updateUserNote": string;
|
||||
};
|
||||
}
|
||||
declare const locales: {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
moderationNote: ps.text,
|
||||
});
|
||||
|
||||
this.moderationLogService.log(me, 'updateServerSettings', {
|
||||
this.moderationLogService.log(me, 'updateUserNote', {
|
||||
userId: user.id,
|
||||
before: currentProfile.moderationNote,
|
||||
after: ps.text,
|
||||
|
|
|
|||
Loading…
Reference in New Issue