Merge branch 'dev' into feat/pagina-overzicht-klassen-voor-student
This commit is contained in:
commit
0e70ccf672
5 changed files with 3 additions and 5 deletions
|
@ -44,7 +44,6 @@ RUN npm install --silent --only=production
|
|||
|
||||
COPY ./docs ./docs
|
||||
COPY ./backend/i18n ./backend/i18n
|
||||
COPY ./backend/.env ./backend/.env
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ services:
|
|||
restart: unless-stopped
|
||||
volumes:
|
||||
# TODO Replace with environment keys
|
||||
- ./backend/.env:/app/.env
|
||||
- ./backend/.env:/app/dwengo/backend/.env
|
||||
depends_on:
|
||||
- db
|
||||
- logging
|
||||
|
|
|
@ -24,7 +24,7 @@ services:
|
|||
- '3000:3000/tcp'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./backend/.env.staging:/app/.env
|
||||
- ./backend/.env.staging:/app/dwengo/backend/.env
|
||||
depends_on:
|
||||
- db
|
||||
- logging
|
||||
|
|
|
@ -45,7 +45,6 @@ export class ClassController extends BaseController {
|
|||
return this.get<StudentsResponse>(`/${id}/students`, { full });
|
||||
}
|
||||
|
||||
// TODO
|
||||
async getTeacherInvitations(id: string, full = true): Promise<TeacherInvitationsResponse> {
|
||||
return this.get<TeacherInvitationsResponse>(`/${id}/teacher-invitations`, { full });
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ export class SubmissionController extends BaseController {
|
|||
return this.get<SubmissionResponse>(`/${submissionNumber}`);
|
||||
}
|
||||
|
||||
async createSubmission(data: any): Promise<SubmissionResponse> {
|
||||
async createSubmission(data: unknown): Promise<SubmissionResponse> {
|
||||
return this.post<SubmissionResponse>(`/`, data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue