wehhook添加active字段
This commit is contained in:
parent
653257c4fd
commit
f3fec65b5b
|
@ -681,6 +681,7 @@ public class UserService extends AbstractUserBot implements IUserService {
|
|||
}
|
||||
Bot bot = botMapper.selectById(limitEvents.get(0).getBotId());
|
||||
webhook.setEvents(objects);
|
||||
webhook.setActive(true);
|
||||
webhook.setContent_type("json");
|
||||
webhook.setUrl(bot.getWebUrl());
|
||||
webhook.setHttp_method("POST");
|
||||
|
|
Loading…
Reference in New Issue