From cb015951806ab36aef22d7eeb9037fc22d43de10 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 5 Jan 2024 13:07:33 -0600 Subject: [PATCH] fix type definition --- frontend/lib/api/public.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/lib/api/public.ts b/frontend/lib/api/public.ts index ae8735a..187728d 100644 --- a/frontend/lib/api/public.ts +++ b/frontend/lib/api/public.ts @@ -1,5 +1,5 @@ import { BaseAPI, route } from "./base"; -import { ApiSummary, LoginForm, TokenResponse, UserRegistration } from "./types/data-contracts"; +import { APISummary, LoginForm, TokenResponse, UserRegistration } from "./types/data-contracts"; export type StatusResult = { health: boolean; @@ -10,7 +10,7 @@ export type StatusResult = { export class PublicApi extends BaseAPI { public status() { - return this.http.get({ url: route("/status") }); + return this.http.get({ url: route("/status") }); } public login(username: string, password: string, stayLoggedIn = false) {