rpcenc: fix bug

This commit is contained in:
Łukasz Magiera
2020-08-14 23:49:08 +02:00
parent 42bb91c2e6
commit 4ca5fef0de
+1
View File
@@ -100,6 +100,7 @@ func ReaderParamDecoder() (http.HandlerFunc, jsonrpc.ServerOption) {
u, err := uuid.Parse(strId)
if err != nil {
http.Error(resp, fmt.Sprintf("parsing reader uuid: %s", err), 400)
return
}
readersLk.Lock()