Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
4 deletions
-
apps/api/src/app/import/import.controller.ts
-
apps/api/src/app/user/user.controller.ts
|
|
@ -20,7 +20,6 @@ import { REQUEST } from '@nestjs/core'; |
|
|
|
import { AuthGuard } from '@nestjs/passport'; |
|
|
|
import { DataSource } from '@prisma/client'; |
|
|
|
import { StatusCodes, getReasonPhrase } from 'http-status-codes'; |
|
|
|
import { isEmpty } from 'lodash'; |
|
|
|
|
|
|
|
import { ImportDataDto } from './import-data.dto'; |
|
|
|
import { ImportService } from './import.service'; |
|
|
|
|
|
@ -1,6 +1,4 @@ |
|
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration.service'; |
|
|
|
import { PropertyService } from '@ghostfolio/api/services/property/property.service'; |
|
|
|
import { PROPERTY_IS_USER_SIGNUP_ENABLED } from '@ghostfolio/common/config'; |
|
|
|
import { User, UserSettings } from '@ghostfolio/common/interfaces'; |
|
|
|
import { hasPermission, permissions } from '@ghostfolio/common/permissions'; |
|
|
|
import type { RequestWithUser } from '@ghostfolio/common/types'; |
|
|
@ -31,7 +29,6 @@ import { UserService } from './user.service'; |
|
|
|
@Controller('user') |
|
|
|
export class UserController { |
|
|
|
public constructor( |
|
|
|
private readonly configurationService: ConfigurationService, |
|
|
|
private readonly jwtService: JwtService, |
|
|
|
private readonly propertyService: PropertyService, |
|
|
|
@Inject(REQUEST) private readonly request: RequestWithUser, |
|
|
|