Skip to content

Commit b624ca9

Browse files
committed
pushExt 属性添加类型校验
1 parent 1341c95 commit b624ca9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rongcloud/message.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def broadcast(self, from_user_id, object_name, content, push_content=None, push_
6060
self._check_param(os, str)
6161
self._check_param(content_available, int, '0~1')
6262
self._check_param(disable_push, bool)
63+
self._check_param(push_ext, str)
6364
return self._http_post(url, self._render(param_dict, format_str))
6465
except ParamException as e:
6566
return json.loads(str(e))

0 commit comments

Comments
 (0)