diff --git a/sake/storage.go b/sake/storage.go index 8bd525e..1b3a2c7 100644 --- a/sake/storage.go +++ b/sake/storage.go @@ -343,7 +343,7 @@ func searchForRecords(moduleName string, request StorageSearchForRecords) *Stora return &errorResponse } - ownerId, err := strconv.ParseUint(match[1], 10, 32) + ownerId, err := strconv.ParseInt(match[1], 10, 32) if err != nil { logging.Error(moduleName, "Invalid owner ID") return &errorResponse