Skip to content

Commit

Permalink
fix(front): fix old wrong type on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptTF committed Apr 30, 2024
1 parent 8f28589 commit 1148ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { Account, Callback200Response, ConnectCardRequest } from '$lib/api';
import type { Account, ConnectCard200Response, ConnectCardRequest } from '$lib/api';
import { accountsApi, authApi } from '$lib/requests/requests';
import Button from '$lib/components/button.svelte';
Expand All @@ -21,7 +21,7 @@
withCredentials: true
})
.then((res: any) => {
let data: Callback200Response = res.data;
let data: ConnectCard200Response = res.data;
account = data.account;
});
});
Expand Down

0 comments on commit 1148ef3

Please sign in to comment.