Skip to content

Commit 6697364

Browse files
committed
forgot a cast
1 parent cfbbb80 commit 6697364

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/database/features/step-definitions/stepdefs.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,10 @@ When("user of space {word} adds space {word} to group {word}",
430430
if (space2Id === undefined) assert.fail("space2Id not found");
431431
if (groupId === undefined) assert.fail("groupId not found");
432432
const client2 = await getLoggedinDatabase(space2Id as number);
433-
const r1 = await client2.from("PlatformAccount").select("dg_account").eq("account_local_id", spaceAnonUserEmail("Roam", space2Id)).maybeSingle();
433+
const r1 = await client2.from("PlatformAccount")
434+
.select("dg_account")
435+
.eq("account_local_id", spaceAnonUserEmail("Roam", space2Id as number))
436+
.maybeSingle();
434437
assert.equal(r1.error, null);
435438
const memberId = r1.data?.dg_account;
436439
assert.ok(memberId, "memberId not found for space2");

0 commit comments

Comments
 (0)