File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/backend/src/apps/aisay/actions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const action: IRawAction = {
5252 infoToExtract : Array < { infoToExtract : string } >
5353 }
5454
55- if ( ! $ . auth . data . clientId || ! $ . auth . data . clientSecret ) {
55+ if ( ! $ . auth . data ? .clientId || ! $ . auth . data ? .clientSecret ) {
5656 throw new StepError (
5757 'Missing client ID or client secret' ,
5858 'Please check the client ID and client secret' ,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const action: IRawAction = {
4848 documentType : string
4949 }
5050
51- if ( ! $ . auth . data . clientId || ! $ . auth . data . clientSecret ) {
51+ if ( ! $ . auth . data ? .clientId || ! $ . auth . data ? .clientSecret ) {
5252 throw new StepError (
5353 'Missing client ID or client secret' ,
5454 'Please check the client ID and client secret' ,
You can’t perform that action at this time.
0 commit comments