fix problem with headers / source ids

This commit is contained in:
azivner
2018-01-28 21:57:46 -05:00
parent 9a0c2b6bcd
commit 669d189ab7
14 changed files with 27 additions and 25 deletions

View File

@@ -7,9 +7,11 @@ const server = (function() {
}
catch(e) {}
// headers need to be lowercase because node.js automatically converts them to lower case
// so hypothetical protectedSessionId becomes protectedsessionid on the backend
return {
protected_session_id: protectedSessionId,
sourceId: glob.sourceId
source_id: glob.sourceId
};
}