misskey/packages/backend/src/misc/generate-native-user-token.ts
Kagami Sascha Rosylight ef354e94f2
refactor(backend): replace rndstr with secureRndstr (#11044)
* refactor(backend): replace rndstr with secureRndstr

* Update pnpm-lock.yaml

* .js
2023-06-25 11:04:33 +09:00

4 lines
96 B
TypeScript

import { secureRndstr } from '@/misc/secure-rndstr.js';
export default () => secureRndstr(16);