diff --git a/docs/interfaces/actions-service.txt b/docs/interfaces/action-service.txt similarity index 93% rename from docs/interfaces/actions-service.txt rename to docs/interfaces/action-service.txt index 0b3c43083..173e4892e 100644 --- a/docs/interfaces/actions-service.txt +++ b/docs/interfaces/action-service.txt @@ -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;