fix: delete files when deleting share manually

This commit is contained in:
Elias Schneider
2022-10-11 15:08:25 +02:00
parent 0823d28e23
commit ffd538f140
2 changed files with 6 additions and 5 deletions

View File

@@ -1,12 +1,11 @@
import { Module } from "@nestjs/common";
import { JwtModule, JwtService } from "@nestjs/jwt";
import { AuthModule } from "src/auth/auth.module";
import { forwardRef, Module } from "@nestjs/common";
import { JwtModule } from "@nestjs/jwt";
import { FileModule } from "src/file/file.module";
import { ShareController } from "./share.controller";
import { ShareService } from "./share.service";
@Module({
imports: [JwtModule.register({})],
imports: [JwtModule.register({}), forwardRef(() => FileModule)],
controllers: [ShareController],
providers: [ShareService],
exports: [ShareService],