Commit 056b996781aa8556b0a286f1c48f6f13aa6c3980

Authored by Wuping Yao
1 parent 4efdb171
Exists in master

[#master] fix the bug that delete user method will call get user endpoint by mistake.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/qy_wechat_api/api/user.rb
... ... @@ -31,7 +31,7 @@ module QyWechatApi
31 31  
32 32 # 删除成员
33 33 def delete(id)
34   - http_get("get", {userid: id})
  34 + http_get("delete", {userid: id})
35 35 end
36 36  
37 37 # 批量删除成员
... ...