fix(basic.gblib): update ChatServices.ts #420
1 changed files with 8 additions and 1 deletions
|
|
@ -334,7 +334,14 @@ export class GBMinService {
|
|||
|
||||
let chatapi = GBConfigService.get('CHATAPI') === 'true';
|
||||
|
||||
if (!chatapi) {
|
||||
if (chatapi) {
|
||||
if (req.body.ack){
|
||||
res.status(200);
|
||||
res.end();
|
||||
|
||||
return;
|
||||
}
|
||||
}else{
|
||||
if (req.body.type !== 'message') {
|
||||
res.status(200);
|
||||
res.end();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue