Skip to content

Commit 5750b5f

Browse files
committed
Small fix
1 parent a8d7aa6 commit 5750b5f

File tree

1 file changed

+2
-3
lines changed
  • validator/client/src/main/java/tech/pegasys/teku/validator/client/restapi/apis

1 file changed

+2
-3
lines changed

Diff for: validator/client/src/main/java/tech/pegasys/teku/validator/client/restapi/apis/SetGraffiti.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@
2525
import tech.pegasys.teku.infrastructure.restapi.endpoints.RestApiRequest;
2626

2727
public class SetGraffiti extends RestApiEndpoint {
28-
public static final String ROUTE = "/eth/v1/validator/{pubkey}/graffiti";
2928

3029
public SetGraffiti() {
3130
super(
32-
EndpointMetadata.post(ROUTE)
31+
EndpointMetadata.post(GetGraffiti.ROUTE)
3332
.operationId("setGraffiti")
3433
.summary("Set Graffiti")
3534
.description("Set the graffiti for an individual validator.")
@@ -45,7 +44,7 @@ public SetGraffiti() {
4544
}
4645

4746
@Override
48-
public void handleRequest(RestApiRequest request) throws JsonProcessingException {
47+
public void handleRequest(final RestApiRequest request) throws JsonProcessingException {
4948
throw new NotImplementedException("Not Implemented");
5049
}
5150
}

0 commit comments

Comments
 (0)