Procházet zdrojové kódy

Update error code documentation for adding friends

Matt Coles před 9 roky
rodič
revize
cff619e900
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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