Pārlūkot izejas kodu

Update error code documentation for adding friends

Matt Coles 9 gadi atpakaļ
vecāks
revīzija
cff619e900
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      README.md

+ 2 - 1
README.md

695
 ```
695
 ```
696
 The error codes are as follows, `1` indicates an invalid auth code, `2`
696
 The error codes are as follows, `1` indicates an invalid auth code, `2`
697
 indicates that the user is already a friend, `3` indicates that the user you are
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
 ### /friends/remove/
701
 ### /friends/remove/
701
 To remove a friend from the friends list, a `POST` request should be sent with
702
 To remove a friend from the friends list, a `POST` request should be sent with