Nextcloud export: fix data chunks not being concatenated (#14517)
This commit is contained in:
1 parent
143ca866f6
commit
95b2edb758
1 file changed
+1
-1
@@ -201,7 +201,7 @@ function BaseExporter:makeJsonRequest(endpoint, method, body, headers)
|
||||
"no response from server")
|
||||
end
|
||||
|
||||
response, err = rapidjson.decode(sink[1])
|
||||
response, err = rapidjson.decode(table.concat(sink))
|
||||
if not response then
|
||||
return nil, string.format(msg_failed,
|
||||
"unable to decode server response" .. err)
|
||||
|
||||
Reference in new issue
Block a user