Skip to content

Commit 5116b3d

Browse files
committed
Fixed incorrect references to "role".
1 parent 458e14e commit 5116b3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/com/objectcomputing/checkins/services/pulseresponse/PulseResponseController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ public HttpResponse<PulseResponse> update(@Body @Valid @NotNull PulseResponse pu
8383
* @return
8484
*/
8585
@Get("/{id}")
86-
public PulseResponse readRole(@NotNull UUID id) {
86+
public PulseResponse readPulse(@NotNull UUID id) {
8787
PulseResponse result = pulseResponseServices.read(id);
8888
if (result == null) {
89-
throw new NotFoundException("No role item for UUID");
89+
throw new NotFoundException("No pulse item for UUID");
9090
}
9191
return result;
9292
}
93-
}
93+
}

0 commit comments

Comments
 (0)