Skip to content
Snippets Groups Projects
Commit c59669e9 authored by michael.minelli's avatar michael.minelli
Browse files

HttpManager => Move ex. secret to headers

parent 75223433
No related branches found
No related tags found
No related merge requests found
Pipeline #27141 passed
...@@ -43,7 +43,7 @@ class HttpManager { ...@@ -43,7 +43,7 @@ class HttpManager {
config.headers['Content-Type'] = 'multipart/form-data'; config.headers['Content-Type'] = 'multipart/form-data';
} }
config.headers.Authorization = `ExerciseSecret ${ Config.exercise.secret }`; config.headers.ExerciseSecret = Config.exercise.secret;
config.headers['client'] = 'DojoExerciseChecker'; config.headers['client'] = 'DojoExerciseChecker';
config.headers['client-version'] = version; config.headers['client-version'] = version;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment