Skip to content

Commit 53d64f5

Browse files
committed
allow writes in get latest marker
1 parent d270ec7 commit 53d64f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/handler/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func setupHandlers(s *mux.Router) {
207207
RateLimitByObjectRL(common.ToJSONResponse(WithReadOnlyConnection(ReferencePathV2Handler))))
208208

209209
s.HandleFunc("/v1/file/latestwritemarker/{allocation}",
210-
RateLimitByObjectRL(common.ToJSONResponse(WithReadOnlyConnection(WriteMarkerHandler))))
210+
RateLimitByObjectRL(common.ToJSONResponse(WithConnection(WriteMarkerHandler))))
211211

212212
s.HandleFunc("/v1/file/objecttree/{allocation}",
213213
RateLimitByObjectRL(common.ToStatusCode(WithStatusReadOnlyConnection(ObjectTreeHandler)))).

0 commit comments

Comments
 (0)