Skip to content

Commit c48a466

Browse files
authored
Merge pull request #6 from OpenConceptLab/feature/add-x-ocl-client-header
Add X-OCL-CLIENT header for analytics tracking
2 parents ff1b485 + 14b00a4 commit c48a466

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/services/APIService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ class APIService {
116116
const obj = defaults(headers, this.headers);
117117
if (token) obj['Authorization'] = `Token ${token}`;
118118
obj['INCLUDESEARCHLATEST'] = true
119+
obj['X-OCL-CLIENT'] = 'oclmap/0.0.1-alpha';
119120
return obj;
120121
}
121122

0 commit comments

Comments
 (0)