chore: fix minor typo in function name updateChatVisibilityById (#983)
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
This commit is contained in:
parent
2681194caf
commit
26bbbd6287
2 changed files with 3 additions and 3 deletions
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -485,7 +485,7 @@ export async function deleteMessagesByChatIdAfterTimestamp({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function updateChatVisiblityById({
|
export async function updateChatVisibilityById({
|
||||||
chatId,
|
chatId,
|
||||||
visibility,
|
visibility,
|
||||||
}: {
|
}: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue