From 2bcf4065b4c1b952bcdb97fec10efd0e5a14652b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Wed, 21 Sep 2022 14:45:18 +0800 Subject: [PATCH] - update config --- config.go | 2 +- const.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index cf8dfe3..cd8a782 100644 --- a/config.go +++ b/config.go @@ -2,6 +2,6 @@ package dingtalk func (c *Client) Config(secret, accessToken string) *Client { c.config.secret = secret - c.config.secret = accessToken + c.config.accessToken = accessToken return c } diff --git a/const.go b/const.go index b93e5dd..e4226b4 100644 --- a/const.go +++ b/const.go @@ -6,5 +6,5 @@ const ( const ( LogTable = "dingtalk" - Version = "1.0.13" + Version = "1.0.14" )