diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-26 02:33:29 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-26 02:33:29 +0900 |
| commit | 9c32118b77f74953a66b219b0bd9a2b38e3468e8 (patch) | |
| tree | 3d6743b2d156d0843efe4130bae351df16d3e157 /src/server/api/common | |
| parent | Merge pull request #2482 from syuilo/develop (diff) | |
| parent | 8.14.0 (diff) | |
| download | sharkey-9c32118b77f74953a66b219b0bd9a2b38e3468e8.tar.gz sharkey-9c32118b77f74953a66b219b0bd9a2b38e3468e8.tar.bz2 sharkey-9c32118b77f74953a66b219b0bd9a2b38e3468e8.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/server/api/common')
| -rw-r--r-- | src/server/api/common/is-native-token.ts | 2 |
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 0769a4812e..6afbc99ab5 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[0] == '!'; +export default (token: string) => token.startsWith('!'); |