Skip to content

Commit

Permalink
Update docs/API.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aldo Canepa Garay <87341702+aldo-expensify@users.noreply.github.com>
  • Loading branch information
yuwenmemon and aldo-expensify authored Jun 29, 2022
1 parent b30c2c0 commit 9e47f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The data will automatically be sent to the user via Pusher.
When there is an error on a WRITE response (`jsonCode!==200`), the error must come back to the client on the HTTPS response. The error is only relevant to the client that made the request and it wouldn't make sense to send it out to all connected clients.

Error messages should be returned and stored as a String under the `error` property. If absoultely needed, additional error properties can be stored under other, more specific fields that sit at the same level as `error`:
```
```php
[
'onyxMethod' => 'merge',
'key' => OnyxKeys::WALLET_ADDITIONAL_DETAILS,
Expand Down

0 comments on commit 9e47f26

Please sign in to comment.