Commit 9f4bb336eaa61b61a285af2f3cf704612826bb70

Authored by Jeff Lai
1 parent f31b9072
Exists in master

Fix get permanent code

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/dingtalk/api/suite.rb
@@ -15,7 +15,7 @@ module Dingtalk @@ -15,7 +15,7 @@ module Dingtalk
15 suite_access_token: suite_access_token, 15 suite_access_token: suite_access_token,
16 tmp_auth_code: tmp_auth_code 16 tmp_auth_code: tmp_auth_code
17 } 17 }
18 - http_get('get_permanent_code', params) 18 + http_post('get_permanent_code', params)
19 end 19 end
20 20
21 def suite_access_token 21 def suite_access_token