@@ -356,7 +356,7 @@ class CActService {
throw ApiError.BadRequest("actRegNotFound", "Не найдена регистрация");
}
- if (actReg.userId === userId) {
+ if (actReg.peOwnerId === userId || actReg.userId === userId) {
return "owner";