Commit ba961891b9d8e771c150eb6658fd6abe2b7d20b6
1 parent
0bb70a2a
Exists in
master
Add access_token to message send with url
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/dingtalk/api/message.rb
@@ -2,7 +2,7 @@ module Dingtalk | @@ -2,7 +2,7 @@ module Dingtalk | ||
2 | module Api | 2 | module Api |
3 | class Message < Base | 3 | class Message < Base |
4 | def send_with(params) | 4 | def send_with(params) |
5 | - http_post('send', params) | 5 | + http_post("send?access_token=#{access_token}", params) |
6 | end | 6 | end |
7 | 7 | ||
8 | private | 8 | private |