chore: fix minor typo in function name updateChatVisibilityById (#983)

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
This commit is contained in:
peetzweg/ 2025-11-01 01:44:13 +01:00 committed by GitHub
parent 2681194caf
commit 26bbbd6287
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ import { titlePrompt } from "@/lib/ai/prompts";
import { import {
deleteMessagesByChatIdAfterTimestamp, deleteMessagesByChatIdAfterTimestamp,
getMessageById, getMessageById,
updateChatVisiblityById, updateChatVisibilityById,
} from "@/lib/db/queries"; } from "@/lib/db/queries";
import { getTextFromMessage } from "@/lib/utils"; import { getTextFromMessage } from "@/lib/utils";
@ -47,5 +47,5 @@ export async function updateChatVisibility({
chatId: string; chatId: string;
visibility: VisibilityType; visibility: VisibilityType;
}) { }) {
await updateChatVisiblityById({ chatId, visibility }); await updateChatVisibilityById({ chatId, visibility });
} }

View file

@ -485,7 +485,7 @@ export async function deleteMessagesByChatIdAfterTimestamp({
} }
} }
export async function updateChatVisiblityById({ export async function updateChatVisibilityById({
chatId, chatId,
visibility, visibility,
}: { }: {