integration support for harness p3-comments
Signed-off-by: Calvin Lee <cjlee@ualberta.ca>
This commit is contained in:
@@ -122,7 +122,7 @@ export function getHarnessRequestOptions(config: HarnessIntegrationConfig): {
|
||||
|
||||
if (apiKey) {
|
||||
headers['x-api-key'] = apiKey;
|
||||
} else {
|
||||
} else if (token) {
|
||||
headers.Authorization = `Bearer ${token}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user