summaryrefslogtreecommitdiff
path: root/src/server/api/common/is-native-token.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-08 20:29:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-08 20:29:52 +0900
commit735687be21b08a11bf167663b9336a56eeb05313 (patch)
treeca3dae42affa74e83e62d22471fb17cd098816f6 /src/server/api/common/is-native-token.ts
parentFix (diff)
downloadsharkey-735687be21b08a11bf167663b9336a56eeb05313.tar.gz
sharkey-735687be21b08a11bf167663b9336a56eeb05313.tar.bz2
sharkey-735687be21b08a11bf167663b9336a56eeb05313.zip
update token generation
Diffstat (limited to 'src/server/api/common/is-native-token.ts')
-rw-r--r--src/server/api/common/is-native-token.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/common/is-native-token.ts b/src/server/api/common/is-native-token.ts
index 6afbc99ab5..22af84aad2 100644
--- a/src/server/api/common/is-native-token.ts
+++ b/src/server/api/common/is-native-token.ts
@@ -1 +1 @@
-export default (token: string) => token.startsWith('!');
+export default (token: string) => token.startsWith('0');