oops, wrong table name
This commit is contained in:
parent
c7d4ffa9dd
commit
b37d5933a7
@ -82,7 +82,7 @@ export const insertRelease = async (props: {manifest: PicobookManifest, carts: {
|
|||||||
const id = uuidv4();
|
const id = uuidv4();
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
await db.query(sql`
|
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})
|
VALUES (${id}, ${slug}, ${repo}, ${version}, ${author}, ${carts}, ${manifest}, ${now})
|
||||||
`);
|
`);
|
||||||
return id;
|
return id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user