misskey/src/server/api/common/generate-native-user-token.ts

4 lines
82 B
TypeScript
Raw Normal View History

2017-08-28 23:47:43 +09:00
import rndstr from 'rndstr';
2019-04-08 20:29:52 +09:00
export default () => `0${rndstr('a-zA-Z0-9', 15)}`;