Skip to content

Commit f2a1482

Browse files
committed
Fix GraphQL mutation name
1 parent 797e1ec commit f2a1482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/tasklist/web/controller/UserController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public UserDto getById(
6969
}
7070

7171
@DeleteMapping("/{id}")
72-
@MutationMapping(name = "deleteUserById")
72+
@MutationMapping(name = "deleteUser")
7373
@Operation(summary = "Delete user by id")
7474
@PreAuthorize("@cse.canAccessUser(#id)")
7575
public void deleteById(

0 commit comments

Comments
 (0)