pycommonlog 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycommonlog
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Unified logging and alerting library for Python.
5
5
  Home-page: https://github.com/alvianhanif/pycommonlog
6
6
  Author: Alvian Rahman Hanif
@@ -205,7 +205,7 @@ class LarkProvider(Provider):
205
205
  payload = {
206
206
  "receive_id": chat_id,
207
207
  "msg_type": "post",
208
- "content": {
208
+ "content": json.dumps({
209
209
  "post": {
210
210
  "zh_cn": {
211
211
  "title": title,
@@ -219,7 +219,7 @@ class LarkProvider(Provider):
219
219
  ]
220
220
  }
221
221
  }
222
- }
222
+ })
223
223
  }
224
224
  debug_log(config, f"send_lark_webclient: sending HTTP request, payload size: {len(str(payload))}, payload: {json.dumps(payload)}")
225
225
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycommonlog
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Unified logging and alerting library for Python.
5
5
  Home-page: https://github.com/alvianhanif/pycommonlog
6
6
  Author: Alvian Rahman Hanif
File without changes
File without changes
File without changes
File without changes