Webdav and Cleanup

This commit is contained in:
2023-02-22 00:48:12 +01:00
parent 09003439a6
commit 88e5a605fb
3 changed files with 43 additions and 14 deletions

View File

@ -16,14 +16,11 @@ class GetRoom extends TalkApi<GetRoomResponse> {
@override
GetRoomResponse assemble(String raw) {
log("ASSEMBLING");
log(raw);
return GetRoomResponse.fromJson(jsonDecode(raw)['ocs']);
}
@override
Future<http.Response> request(Uri uri, Object? body, Map<String, String>? headers) {
log("REQUSTING...");
log(uri.toString());
log(headers.toString());
return http.get(uri, headers: headers);