return correct response status for "Send"
This commit is contained in:
@@ -316,7 +316,9 @@ namespace PocketSharp
|
||||
"actions", JsonConvert.SerializeObject(actionParameters.Select(action => action.Convert()))
|
||||
}};
|
||||
|
||||
return (await Request<Modify>("send", cancellationToken, parameters)).Status;
|
||||
Modify result = (await Request<Modify>("send", cancellationToken, parameters));
|
||||
|
||||
return result.ActionResults != null ? !result.ActionResults.Contains(false) : result.Status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user