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

4 lines
99 B
TypeScript
Raw Normal View History

import { secureRndstr } from '@/misc/secure-rndstr';
2017-08-28 23:47:43 +09:00
export default () => secureRndstr(16, true);