diff options
Diffstat (limited to 'src/server/api/endpoints/auth')
| -rw-r--r-- | src/server/api/endpoints/auth/accept.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/auth/accept.ts b/src/server/api/endpoints/auth/accept.ts index b7e11bd463..3e45a2801f 100644 --- a/src/server/api/endpoints/auth/accept.ts +++ b/src/server/api/endpoints/auth/accept.ts @@ -1,5 +1,5 @@ import rndstr from 'rndstr'; -const crypto = require('crypto'); +import * as crypto from 'crypto'; import $ from 'cafy'; import App from '../../../../models/app'; import AuthSess from '../../../../models/auth-session'; |