style(work): clean code

This commit is contained in:
Fu Diwei 2022-01-11 17:45:36 +08:00
parent f6b919e59b
commit 98fc6e6c3a

View File

@ -210,7 +210,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
throw new Exceptions.WechatWorkEventSerializationException("Serialize event failed. Please see the `InnerException` for more details.", ex);
}
if (string.IsNullOrEmpty(client.Credentials.PushEncodingAESKey))
throw new Exceptions.WechatWorkEventSerializationException("Encrypt event failed, because there is no encoding AES key.");
if (string.IsNullOrEmpty(client.Credentials.PushToken))