1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can upload a new logo for the group

This commit is contained in:
2020-05-02 08:51:34 +02:00
parent f450a46e99
commit 1a53a26f39
3 changed files with 56 additions and 0 deletions

View File

@ -71,4 +71,8 @@ class APIRequest {
/// Execute the request with files
Future<APIResponse> execWithFiles() async => APIHelper().execWithFiles(this);
/// Execute the request with files to send & throws in case of failure
Future<APIResponse> execWithFilesAndThrow() async =>
(await execWithFiles()).assertOk();
}