Skip to content

Commit c535a18

Browse files
committed
Fix EducationResolver to be decorated correctly
1 parent d37dd5e commit c535a18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/user/education/education.resolver.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Injectable } from '@nestjs/common';
2-
import { Args, Mutation, Query } from '@nestjs/graphql';
1+
import { Args, Mutation, Query, Resolver } from '@nestjs/graphql';
32
import { type ID, IdArg, ListArg } from '~/common';
43
import { Loader, type LoaderOf } from '~/core';
54
import { EducationLoader, EducationService } from '../education';
@@ -14,7 +13,7 @@ import {
1413
UpdateEducationOutput,
1514
} from './dto';
1615

17-
@Injectable()
16+
@Resolver()
1817
export class EducationResolver {
1918
constructor(private readonly service: EducationService) {}
2019

0 commit comments

Comments
 (0)