mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 17:57:45 +03:00
1.2.0
Добавлена возможность заменять файл с расписанием. Добалена возможность давать доступ к end-point'ам только определённым ролям. Чуть-чуть меньше спагетти в объявлениях модулей.
This commit is contained in:
@@ -73,7 +73,7 @@ export class AuthController {
|
||||
async signUp(@Body() signUpDto: SignUpReqDto) {
|
||||
if (
|
||||
!(await this.scheduleService.getGroupNames()).names.includes(
|
||||
signUpDto.group,
|
||||
signUpDto.group.replaceAll(" ", ""),
|
||||
)
|
||||
) {
|
||||
throw new NotFoundException(
|
||||
|
||||
Reference in New Issue
Block a user