File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/compass-intercom/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -129,14 +129,15 @@ function getAutoUpdateEndpoint() {
129129 */
130130async function fetchIntegrations ( ) : Promise < { intercom : boolean } > {
131131 const url = `${ getAutoUpdateEndpoint ( ) } /api/v2/integrations` ;
132+ debug ( 'requesting integrations status' , { url } ) ;
132133 const response = await fetch ( url ) ;
133134 if ( ! response . ok ) {
134135 throw new Error (
135136 `Expected an OK response, got ${ response . status } '${ response . statusText } '`
136137 ) ;
137138 }
138139 const result = await response . json ( ) ;
139- debug ( 'Got integrations response' , { result } ) ;
140+ debug ( 'got integrations response' , { result } ) ;
140141 if ( typeof result . intercom !== 'boolean' ) {
141142 throw new Error ( `Expected 'intercom' to be a boolean` ) ;
142143 }
You can’t perform that action at this time.
0 commit comments