commit 03d90d7c94e18704cdeaaf5434de54bdf26b45ff parent 88752c716ad65584ed3f2a6440a099d43031de4c Author: Sebastian <sebasjm@gmail.com> Date: Mon, 5 Aug 2024 13:17:56 -0300 wrong checking Diffstat:
| M | packages/taler-util/src/types-taler-wallet.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-util/src/types-taler-wallet.ts b/packages/taler-util/src/types-taler-wallet.ts @@ -595,7 +595,7 @@ export function stringifyScopeInfoShort(si: ScopeInfo): string { export function parseScopeInfoShort(si: string): ScopeInfo | undefined { const indexOfColon = si.indexOf(":"); const indexOfSlash = si.indexOf("/"); - if (indexOfColon === -1 && indexOfColon === -1) { + if (indexOfColon === -1 && indexOfSlash === -1) { return { type: ScopeType.Global, currency: si,