Skip to content

Commit

Permalink
feat: add getIsUnique query to index
Browse files Browse the repository at this point in the history
This commit adds the getIsUnique query to the index.ts file. This query is implemented using the UserService.getIsUnique function.
  • Loading branch information
kleberbaum committed May 23, 2024
1 parent 0f38822 commit eec1207
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ import { UserService } from "./user.service";
export default defineService(
{
Query: {
hello() {
return "Hello, World!";
},
getIsUnique: UserService.getIsUnique,
},
Mutation: {
getIsUnique: UserService.getIsUnique,
userCreate: UserService.userCreate,
},
},
Expand Down

0 comments on commit eec1207

Please sign in to comment.