This commit is contained in:
Timothy Jaeryang Baek
2026-02-09 14:03:35 -06:00
parent 1034b74abd
commit c2f5cb542e
6 changed files with 17 additions and 33 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
import Messages from '$lib/components/chat/Messages.svelte';
import { getUserById, getUserSettings } from '$lib/apis/users';
import { getUserInfoById, getUserSettings } from '$lib/apis/users';
import { getModels } from '$lib/apis';
import { toast } from 'svelte-sonner';
import localizedFormat from 'dayjs/plugin/localizedFormat';
@@ -92,7 +92,7 @@
});
if (chat) {
user = await getUserById(localStorage.token, chat.user_id).catch((error) => {
user = await getUserInfoById(localStorage.token, chat.user_id).catch((error) => {
console.error(error);
return null;
});