We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa38f87 commit 2ba096fCopy full SHA for 2ba096f
1 file changed
util.ts
@@ -77,7 +77,7 @@ export async function withApp(
77
}> = await (trpcClient.orgs as any).list.query();
78
79
let fullOrg;
80
- if (token.startsWith("ddo_")) {
+ if (orgs.length === 1) {
81
fullOrg = orgs[0];
82
org = orgs[0].slug;
83
} else {
0 commit comments