Skip to content

Commit 8eed4da

Browse files
authored
Merge pull request #13 from OpenConceptLab/feature/add-x-ocl-client-header
Add X-OCL-CLIENT header for analytics tracking
2 parents 0ec0ff9 + 88b91e0 commit 8eed4da

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
@@ -120,6 +120,7 @@ class APIService {
120120
const obj = defaults(headers, this.headers);
121121
if (token) obj['Authorization'] = `Token ${token}`;
122122
obj['INCLUDESEARCHLATEST'] = true
123+
obj['X-OCL-CLIENT'] = 'oclweb3/3.0.0-alpha';
123124
return obj;
124125
}
125126

0 commit comments

Comments
 (0)