Skip to content

Commit b519d00

Browse files
mics: updated logic to be consistent
1 parent b8bcea5 commit b519d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/src/ee/routes/v1/deprecated-project-role-router.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export const registerDeprecatedProjectRoleRouter = async (server: FastifyZodProv
7878
type: EventType.CREATE_PROJECT_ROLE,
7979
metadata: {
8080
roleId: role.id,
81-
slug: role.slug,
82-
name: role.name,
83-
description: role.description,
81+
slug: req.body.slug,
82+
name: req.body.name,
83+
description: req.body.description,
8484
permissions: stringifiedPermissions
8585
}
8686
}

0 commit comments

Comments
 (0)