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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user