Skip to content

Commit

Permalink
Merge pull request #257 from ZiyamSanthosh/master-fix-null-push-register
Browse files Browse the repository at this point in the history
Fix NullPointerException in push device register endpoint
  • Loading branch information
ZiyamSanthosh authored Jan 26, 2025
2 parents dbe6c12 + 16753a2 commit f5bf674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Response getDevices() {
public Response registerDevice(RegistrationRequestDTO registrationRequestDTO) {

pushDeviceManagementService.registerDevice(registrationRequestDTO);
return Response.created(null).build();
return Response.status(Response.Status.CREATED).build();
}

@Override
Expand Down

0 comments on commit f5bf674

Please sign in to comment.