Skip to content

Commit

Permalink
Merge pull request #8 from graywenn/feature/writeDingDingLog
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
Mr-Xiao-Zhang authored Jun 14, 2022
2 parents 9ba10ea + daf395d commit be2dc9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apis/smsApi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Core from '@alicloud/pop-core';
import * as Core from '@alicloud/pop-core';
import config from '@config/config';

const SMSApi = {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dingTalk.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class DingTalkController {
cursor: 0,
size: 1,
});
if (result.result.data_list.length > 0) {
if (result?.result?.data_list.length > 0) {
return true;
}
return false;
Expand Down

0 comments on commit be2dc9c

Please sign in to comment.