mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-17 01:15:24 +00:00
Improve error messages around draft attachments
(cont'd)
This commit is contained in:
@@ -661,10 +661,9 @@ static NSArray *infoKeys = nil;
|
||||
{
|
||||
NSDictionary *d;
|
||||
|
||||
d = [NSDictionary dictionaryWithObjectsAndKeys: msg, @"textStatus", nil];
|
||||
d = [NSDictionary dictionaryWithObjectsAndKeys: msg, @"message", nil];
|
||||
|
||||
return [self responseWithStatus: 500
|
||||
andString: [d jsonRepresentation]];
|
||||
return [self responseWithStatus: 500 andJSONRepresentation: d];
|
||||
}
|
||||
|
||||
/* attachment helper */
|
||||
|
||||
Reference in New Issue
Block a user