Skip to content

Commit

Permalink
try request scope
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Jan 12, 2024
1 parent 970f94a commit ba492b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/server/src/modules/files-storage/uc/files-storage.uc.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AuthorizationContext } from '@modules/authorization';
import { AuthorizationReferenceService } from '@modules/authorization/domain';
import { HttpService } from '@nestjs/axios';
import { Injectable, NotFoundException } from '@nestjs/common';
import { Injectable, NotFoundException, Scope } from '@nestjs/common';
import { Counted, EntityId } from '@shared/domain/types';
import { LegacyLogger } from '@src/core/logger';
import { AxiosRequestConfig, AxiosResponse } from 'axios';
Expand Down Expand Up @@ -29,7 +29,7 @@ import { FileDtoBuilder, FilesStorageMapper } from '../mapper';
import { FilesStorageService } from '../service/files-storage.service';
import { PreviewService } from '../service/preview.service';

@Injectable()
@Injectable({ scope: Scope.REQUEST })
export class FilesStorageUC {
constructor(
private logger: LegacyLogger,
Expand Down

0 comments on commit ba492b4

Please sign in to comment.