Skip to content

Commit c74c3b5

Browse files
add log
1 parent 53afca7 commit c74c3b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/php/libsdk/SDK/FileOps.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ protected function download(string $url, string $dest_fn = NULL) : ?string
140140

141141
$token = getenv('API_TOKEN');
142142
if (!empty($token)) {
143+
echo "**** define authorization header ! ****\n";
143144
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer '.$token]);
144145
}
145146

0 commit comments

Comments
 (0)