Skip to content

Commit

Permalink
fix: fix temolate
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 23, 2024
1 parent 2654871 commit 1b2aed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/persistence/src/table/table.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class TableRepository implements ITableRepository {
const ctx = executionContext.getStore()
const userId = ctx!.user!.userId!

const spaceId = getCurrentSpaceId()
const spaceId = table.spaceId ?? getCurrentSpaceId()
if (!spaceId) {
throw new Error("Space ID is required to create a table")
}
Expand Down

0 comments on commit 1b2aed9

Please sign in to comment.