mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
lower case api-secret header just incase some server or user agent does wierd things
This commit is contained in:
@@ -115,7 +115,7 @@ describe('API_SECRET', function ( ) {
|
||||
function ping_authorized_endpoint (app, fails, fn) {
|
||||
request(app)
|
||||
.get('/experiments/test')
|
||||
.set('API-SECRET', app.api_secret || '')
|
||||
.set('api-secret', app.api_secret || '')
|
||||
.expect(fails)
|
||||
.end(function (err, res) {
|
||||
if (fails < 400) {
|
||||
|
||||
Reference in New Issue
Block a user