diff --git a/backend/src/graphql/models/LoginResponse.ts b/backend/src/graphql/models/LoginResponse.ts deleted file mode 100644 index 258784b75..000000000 --- a/backend/src/graphql/models/LoginResponse.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ -import { ObjectType, Field } from 'type-graphql' -import { User } from './User' - -// temporaray solution until we have JWT implemented - -@ObjectType() -export class LoginResponse { - constructor(json: any) { - this.sessionId = json.session_id - this.user = new User(json.user) - } - - @Field(() => Number) - sessionId: number - - @Field(() => User) - user: User -}