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