Commit 090510105a639cad4e3c1fd9af192c1a90de1a43
1 parent
b7cc3867
Exists in
master
Fix api url
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/dingtalk/api/user.rb
@@ -10,7 +10,7 @@ module Dingtalk | @@ -10,7 +10,7 @@ module Dingtalk | ||
10 | end | 10 | end |
11 | 11 | ||
12 | def get_by_mobile(mobile) | 12 | def get_by_mobile(mobile) |
13 | - http_get("get?access_token=#{access_token}&mobile=#{mobile}") | 13 | + http_get("get_by_mobile?access_token=#{access_token}&mobile=#{mobile}") |
14 | end | 14 | end |
15 | 15 | ||
16 | private | 16 | private |