refactor(frontend): Algemene linting fouten
This commit is contained in:
parent
8efce6bee0
commit
dd1000c662
9 changed files with 26 additions and 25 deletions
|
@ -1,10 +1,11 @@
|
|||
import apiClient from "@/services/api-client.ts";
|
||||
import type { FrontendAuthConfig } from "@/services/auth/auth.d.ts";
|
||||
import type {UserManagerSettings} from "oidc-client-ts";
|
||||
|
||||
/**
|
||||
* Fetch the authentication configuration from the backend.
|
||||
*/
|
||||
export async function loadAuthConfig() {
|
||||
export async function loadAuthConfig(): Promise<Record<string, UserManagerSettings>> {
|
||||
const authConfig = (await apiClient.get<FrontendAuthConfig>("auth/config")).data;
|
||||
return {
|
||||
student: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue