oops, wrong table name

This commit is contained in:
dylan 2024-03-31 17:38:14 -07:00
parent c7d4ffa9dd
commit b37d5933a7

View File

@ -82,7 +82,7 @@ export const insertRelease = async (props: {manifest: PicobookManifest, carts: {
const id = uuidv4();
const now = new Date();
await db.query(sql`
INSERT INTO chats (id, slug, repo, version, author, carts, manifest, created_at)
INSERT INTO releases (id, slug, repo, version, author, carts, manifest, created_at)
VALUES (${id}, ${slug}, ${repo}, ${version}, ${author}, ${carts}, ${manifest}, ${now})
`);
return id;