Merge branch 'dev' into feat/pagina-overzicht-klassen-voor-student

This commit is contained in:
laurejablonski 2025-04-08 19:35:10 +02:00
commit 0e70ccf672
5 changed files with 3 additions and 5 deletions

View file

@ -44,7 +44,6 @@ RUN npm install --silent --only=production
COPY ./docs ./docs COPY ./docs ./docs
COPY ./backend/i18n ./backend/i18n COPY ./backend/i18n ./backend/i18n
COPY ./backend/.env ./backend/.env
EXPOSE 3000 EXPOSE 3000

View file

@ -24,7 +24,7 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
# TODO Replace with environment keys # TODO Replace with environment keys
- ./backend/.env:/app/.env - ./backend/.env:/app/dwengo/backend/.env
depends_on: depends_on:
- db - db
- logging - logging

View file

@ -24,7 +24,7 @@ services:
- '3000:3000/tcp' - '3000:3000/tcp'
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./backend/.env.staging:/app/.env - ./backend/.env.staging:/app/dwengo/backend/.env
depends_on: depends_on:
- db - db
- logging - logging

View file

@ -45,7 +45,6 @@ export class ClassController extends BaseController {
return this.get<StudentsResponse>(`/${id}/students`, { full }); return this.get<StudentsResponse>(`/${id}/students`, { full });
} }
// TODO
async getTeacherInvitations(id: string, full = true): Promise<TeacherInvitationsResponse> { async getTeacherInvitations(id: string, full = true): Promise<TeacherInvitationsResponse> {
return this.get<TeacherInvitationsResponse>(`/${id}/teacher-invitations`, { full }); return this.get<TeacherInvitationsResponse>(`/${id}/teacher-invitations`, { full });
} }

View file

@ -22,7 +22,7 @@ export class SubmissionController extends BaseController {
return this.get<SubmissionResponse>(`/${submissionNumber}`); return this.get<SubmissionResponse>(`/${submissionNumber}`);
} }
async createSubmission(data: any): Promise<SubmissionResponse> { async createSubmission(data: unknown): Promise<SubmissionResponse> {
return this.post<SubmissionResponse>(`/`, data); return this.post<SubmissionResponse>(`/`, data);
} }