Skip to content

Commit cfe9bfe

Browse files
author
Yegor Bugayenko
committed
#6 fixed
1 parent 9de29fe commit cfe9bfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/co/stateful/RtLock.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public boolean lock(final String label) throws IOException {
107107
final long start = System.currentTimeMillis();
108108
final boolean locked = this.front("lock")
109109
.body().formParam("label", label).back()
110+
.method(Request.POST)
110111
.fetch()
111112
.status() == HttpURLConnection.HTTP_SEE_OTHER;
112113
Logger.info(

0 commit comments

Comments
 (0)