소스 검색

Update error code documentation for adding friends

Matt Coles 9 년 전
부모
커밋
cff619e900
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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