[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: treat all unkown content type
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: treat all unkown content type as plain text |
Date: |
Sun, 09 Apr 2023 19:59:08 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 9bef462f3 treat all unkown content type as plain text
9bef462f3 is described below
commit 9bef462f3803a4f403c78206b9c81592f9b1a0bd
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sun Apr 9 14:59:00 2023 -0300
treat all unkown content type as plain text
---
.../src/components/TermsOfService/utils.ts | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git
a/packages/taler-wallet-webextension/src/components/TermsOfService/utils.ts
b/packages/taler-wallet-webextension/src/components/TermsOfService/utils.ts
index a106c3d85..391932574 100644
--- a/packages/taler-wallet-webextension/src/components/TermsOfService/utils.ts
+++ b/packages/taler-wallet-webextension/src/components/TermsOfService/utils.ts
@@ -59,15 +59,9 @@ function parseTermsOfServiceContent(
} catch (e) {
console.log(e);
}
- } else if (type === "text/plain") {
- try {
- const content = text;
- return { type: "plain", content };
- } catch (e) {
- console.log(e);
- }
}
- return undefined;
+ const content = text;
+ return { type: "plain", content };
}
export type TermsState = {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: treat all unkown content type as plain text,
gnunet <=