Bläddra i källkod

Update error code documentation for adding friends

Matt Coles 9 år sedan
förälder
incheckning
cff619e900
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -695,7 +695,8 @@ The response will then look like this:
695 695
 ```
696 696
 The error codes are as follows, `1` indicates an invalid auth code, `2`
697 697
 indicates that the user is already a friend, `3` indicates that the user you are
698
-trying to add does not exist and `4` indicates a malformed request.
698
+trying to add does not exist, `4` indicates that you are trying to add yourself
699
+and `5` indicates a malformed request.
699 700
 
700 701
 ### /friends/remove/
701 702
 To remove a friend from the friends list, a `POST` request should be sent with