diff options
author | Florian Dold <florian@dold.me> | 2020-11-16 14:12:37 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-11-16 14:12:37 +0100 |
commit | 292160f7e979a0d9fdea7430f0d26b2dc1122a16 (patch) | |
tree | f82a576398408ebbe04d96a93355de61d745c925 /packages/taler-wallet-core/src/util/helpers.ts | |
parent | cdf5cc583cd7fc938f38137da25aaee2aeaf28a9 (diff) |
fix tip record creation, migrate DB
Diffstat (limited to 'packages/taler-wallet-core/src/util/helpers.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/helpers.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/util/helpers.ts b/packages/taler-wallet-core/src/util/helpers.ts index ae4b0359e..570df441d 100644 --- a/packages/taler-wallet-core/src/util/helpers.ts +++ b/packages/taler-wallet-core/src/util/helpers.ts @@ -146,3 +146,7 @@ export function strcmp(s1: string, s2: string): number { } return 0; } + +export function j2s(x: any): string { + return JSON.stringify(x, undefined, 2); +}
\ No newline at end of file |