Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(boards): duplication of boards fails with postgresql / mysql (#5228)

Meier Lukasba9c3f3e2765
diff --git a/packages/api/src/router/board.ts b/packages/api/src/router/board.ts
index bbb7c0c66..495d410c7 100644
--- a/packages/api/src/router/board.ts
+++ b/packages/api/src/router/board.ts
@@ -442,7 +442,7 @@ export const boardRouter = createTRPCRouter({
await handleTransactionsAsync(ctx.db, {
async handleAsync(db, schema) {
await db.transaction(async (transaction) => {
- transaction.insert(schema.boards).values({
+ await transaction.insert(schema.boards).values({
...boardProps,
id: newBoardId,
name: input.name,