style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-21 22:26:24 +00:00
parent 52364d717c
commit fc5a40ba40
5 changed files with 8 additions and 8 deletions

View file

@ -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()}`;
}

View file

@ -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`);}
}