mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 16:20:27 +00:00
fix merge error
This commit is contained in:
parent
fb6b060ca9
commit
84533c81d2
1 changed files with 0 additions and 13 deletions
|
@ -45,19 +45,6 @@
|
||||||
navigateTo("/home");
|
navigateTo("/home");
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data, error } = await api.login_sso_header();
|
|
||||||
|
|
||||||
if (!error) {
|
|
||||||
// @ts-expect-error - expires is either a date or a string, need to figure out store typing
|
|
||||||
authStore.$patch({
|
|
||||||
token: data.token,
|
|
||||||
expires: data.expiresAt,
|
|
||||||
attachmentToken: data.attachmentToken,
|
|
||||||
});
|
|
||||||
|
|
||||||
navigateTo("/home");
|
|
||||||
}
|
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue