misskey/src/server/api/common/is-native-token.ts

2 lines
55 B
TypeScript
Raw Normal View History

2019-04-15 18:05:21 +02:00
export default (token: string) => token.length === 16;