From f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Dec 2021 13:58:07 +0100 Subject: Fix build --- server/lib/auth/oauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/auth') diff --git a/server/lib/auth/oauth.ts b/server/lib/auth/oauth.ts index dc0022852..2bf7a6361 100644 --- a/server/lib/auth/oauth.ts +++ b/server/lib/auth/oauth.ts @@ -8,9 +8,9 @@ import { UnauthorizedClientError, UnsupportedGrantTypeError } from 'oauth2-server' -import { sha1 } from '@shared/core-utils/common/crypto' import { randomBytesPromise } from '@server/helpers/core-utils' import { MOAuthClient } from '@server/types/models' +import { sha1 } from '@shared/extra-utils' import { OAUTH_LIFETIME } from '../../initializers/constants' import { BypassLogin, getClient, getRefreshToken, getUser, revokeToken, saveToken } from './oauth-model' -- cgit v1.2.3