瀏覽代碼

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