From 090510105a639cad4e3c1fd9af192c1a90de1a43 Mon Sep 17 00:00:00 2001 From: Jeff Lai Date: Mon, 25 Apr 2016 17:02:40 +0800 Subject: [PATCH] Fix api url --- lib/dingtalk/api/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dingtalk/api/user.rb b/lib/dingtalk/api/user.rb index 68c92f0..4e900ee 100644 --- a/lib/dingtalk/api/user.rb +++ b/lib/dingtalk/api/user.rb @@ -10,7 +10,7 @@ module Dingtalk end def get_by_mobile(mobile) - http_get("get?access_token=#{access_token}&mobile=#{mobile}") + http_get("get_by_mobile?access_token=#{access_token}&mobile=#{mobile}") end private -- libgit2 0.21.0