misskey/src/server/api/common/generate-native-user-token.ts
2019-04-08 20:29:52 +09:00

4 lines
82 B
TypeScript

import rndstr from 'rndstr';
export default () => `0${rndstr('a-zA-Z0-9', 15)}`;