Skip to content

Commit 2ba096f

Browse files
committed
fix
1 parent fa38f87 commit 2ba096f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export async function withApp(
7777
}> = await (trpcClient.orgs as any).list.query();
7878

7979
let fullOrg;
80-
if (token.startsWith("ddo_")) {
80+
if (orgs.length === 1) {
8181
fullOrg = orgs[0];
8282
org = orgs[0].slug;
8383
} else {

0 commit comments

Comments
 (0)