Skip to content

Commit 6234fc9

Browse files
Update resolvers-map.md
1 parent 1b4980f commit 6234fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/graphql/resolvers-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export class AuthorsResolver {
203203
) {}
204204

205205
@Query(returns => Author, { name: 'author' })
206-
async getAuthor(@Args('id', {type: () => Int }) id: number) {
206+
async getAuthor(@Args('id', { type: () => Int }) id: number) {
207207
return this.authorsService.findOneById(id);
208208
}
209209

0 commit comments

Comments
 (0)