up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-17 23:18:50 +03:30
parent 989bbf6254
commit b2160a136a
+1 -1
View File
@@ -103,7 +103,7 @@ export class AdminService {
// Update role if roleId is provided
if (roleId) {
const role = await this.em.findOne(Role, { id: roleId, isSystem: false });
const role = await this.em.findOne(Role, { id: roleId });
if (!role) {
throw new NotFoundException('Role not found');
}