Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
szysas committed Oct 3, 2023
1 parent 5b2c4fc commit 6cb99d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coap-core/src/main/java/com/mbed/coap/packet/CoapRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public static Builder fetch(String uriPath) {
}

public static Builder patch(String uriPath) {
return new Builder(Method.PATCH, uriPath);
return request(Method.PATCH, uriPath);
}

public static Builder iPatch(String uriPath) {
return new Builder(Method.iPATCH, uriPath);
return request(Method.iPATCH, uriPath);
}

public static Builder observe(String uriPath) {
Expand Down

0 comments on commit 6cb99d7

Please sign in to comment.