Result->Response, actions->action

This commit is contained in:
Finn Stutzenstein 2020-11-11 08:33:59 +01:00
parent 5b0047b093
commit 8cfa7d0a51
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@ Exception ActionException(message: string);
*
* @throws ActionException
*/
handle_request (payload: Action[], user_id: Id): ActionsResult | ActionError
handle_request (payload: Action[], user_id: Id): ActionsResponse | ActionError
interface Action {
action: string;
data: object[]; # An array of action specific data.
}
interace ActionsResult {
interace ActionsResponse {
success: true;
message: string;