From 6b5f72beda96d8b7e4d6329c4001827334de27dd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Dec 2021 18:04:16 +0100 Subject: Move typescript utils in its own directory --- server/models/oauth/oauth-client.ts | 2 +- server/models/oauth/oauth-token.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/models/oauth') diff --git a/server/models/oauth/oauth-client.ts b/server/models/oauth/oauth-client.ts index 890954bdb..860fa6f53 100644 --- a/server/models/oauth/oauth-client.ts +++ b/server/models/oauth/oauth-client.ts @@ -1,5 +1,5 @@ import { AllowNull, Column, CreatedAt, DataType, HasMany, Model, Table, UpdatedAt } from 'sequelize-typescript' -import { AttributesOnly } from '@shared/core-utils' +import { AttributesOnly } from '@shared/typescript-utils' import { OAuthTokenModel } from './oauth-token' @Table({ diff --git a/server/models/oauth/oauth-token.ts b/server/models/oauth/oauth-token.ts index af4b0ec42..f72423190 100644 --- a/server/models/oauth/oauth-token.ts +++ b/server/models/oauth/oauth-token.ts @@ -15,7 +15,7 @@ import { import { TokensCache } from '@server/lib/auth/tokens-cache' import { MUserAccountId } from '@server/types/models' import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token' -import { AttributesOnly } from '@shared/core-utils' +import { AttributesOnly } from '@shared/typescript-utils' import { logger } from '../../helpers/logger' import { AccountModel } from '../account/account' import { ActorModel } from '../actor/actor' -- cgit v1.2.3