Browse Source

dynamite,nextcloud: Cleanup merge mess for real now

pull/131/head
jld3103 2 years ago
parent
commit
2fb37eaf41
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/dynamite/lib/src/openapi_builder.dart
  2. 2
      packages/nextcloud/lib/src/nextcloud.openapi.dart

2
packages/dynamite/lib/src/openapi_builder.dart

@ -925,7 +925,7 @@ class OpenAPIBuilder implements Builder {
response.headers.forEach((final name, final values) { response.headers.forEach((final name, final values) {
responseHeaders[name] = values.last; responseHeaders[name] = values.last;
}); });
return Response( return _Response(
response.statusCode, response.statusCode,
responseHeaders, responseHeaders,
await response.bodyBytes, await response.bodyBytes,

2
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -144,7 +144,7 @@ class Client {
response.headers.forEach((final name, final values) { response.headers.forEach((final name, final values) {
responseHeaders[name] = values.last; responseHeaders[name] = values.last;
}); });
return Response( return _Response(
response.statusCode, response.statusCode,
responseHeaders, responseHeaders,
await response.bodyBytes, await response.bodyBytes,

Loading…
Cancel
Save