enhance: improve moderation log
This commit is contained in:
parent
646a8d1a54
commit
5318532a8d
19 changed files with 209 additions and 60 deletions
|
|
@ -79,9 +79,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
throw new ApiError(meta.errors.noSuchRole);
|
||||
}
|
||||
|
||||
const date = new Date();
|
||||
await this.roleService.update(role, {
|
||||
updatedAt: date,
|
||||
name: ps.name,
|
||||
description: ps.description,
|
||||
color: ps.color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue