style: fix linting issues met ESLint
This commit is contained in:
parent
52364d717c
commit
fc5a40ba40
5 changed files with 8 additions and 8 deletions
|
@ -12,7 +12,7 @@ export class BaseController {
|
|||
if (queryParams) {
|
||||
const query = new URLSearchParams();
|
||||
Object.entries(queryParams).forEach(([key, value]) => {
|
||||
if (value !== undefined && value !== null) query.append(key, value.toString());
|
||||
if (value !== undefined && value !== null) {query.append(key, value.toString());}
|
||||
});
|
||||
url += `?${query.toString()}`;
|
||||
}
|
||||
|
|
|
@ -33,5 +33,5 @@ export class TeacherController extends BaseController {
|
|||
return this.get<{ questions: any[] }>(`/${username}/questions`, { full });
|
||||
}
|
||||
|
||||
// getInvitations(id: string) {return this.get<{ invitations: string[] }>(`/${id}/invitations`);}
|
||||
// GetInvitations(id: string) {return this.get<{ invitations: string[] }>(`/${id}/invitations`);}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue