diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-02-04 09:20:55 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-02-04 09:20:55 -0500 |
| commit | c1a8654f0d2ca8161de2ab055f3cc4e2463645a2 (patch) | |
| tree | 2fc840094c1428ef4325586544fa5be061104cc9 | |
| parent | fix import order in UserEntityService.ts (diff) | |
| download | sharkey-c1a8654f0d2ca8161de2ab055f3cc4e2463645a2.tar.gz sharkey-c1a8654f0d2ca8161de2ab055f3cc4e2463645a2.tar.bz2 sharkey-c1a8654f0d2ca8161de2ab055f3cc4e2463645a2.zip | |
fix import order in FederatedInstanceService.ts
| -rw-r--r-- | packages/backend/src/core/FederatedInstanceService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/FederatedInstanceService.ts b/packages/backend/src/core/FederatedInstanceService.ts index fca3ad847a..3f7ed99348 100644 --- a/packages/backend/src/core/FederatedInstanceService.ts +++ b/packages/backend/src/core/FederatedInstanceService.ts @@ -5,6 +5,7 @@ import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; import * as Redis from 'ioredis'; +import { QueryFailedError } from 'typeorm'; import type { InstancesRepository } from '@/models/_.js'; import type { MiInstance } from '@/models/Instance.js'; import { MemoryKVCache, RedisKVCache } from '@/misc/cache.js'; @@ -12,7 +13,6 @@ import { IdService } from '@/core/IdService.js'; import { DI } from '@/di-symbols.js'; import { UtilityService } from '@/core/UtilityService.js'; import { bindThis } from '@/decorators.js'; -import { QueryFailedError } from 'typeorm'; import { isDuplicateKeyValueError } from '@/misc/is-duplicate-key-value-error.js'; @Injectable() |