mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 07:42:23 +00:00
fix(cctv): point a rejected Ontario key at ONTARIO_511_API_KEY; README notes the key
A wrong or revoked key logged only "download failed: 400"; a 400, 401 or 403 now adds "(check ONTARIO_511_API_KEY)". The README's CCTV row listed Ontario among the default cameras with no mention of the key it now needs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
cd0956eef7
commit
91461381ee
3 files changed
+10
-3
No files matched your search
@@ -60,6 +60,6 @@ test('a rejected key is reported by status, never by the key itself', async (t)
|
||||
{ ONTARIO_511_API_KEY: 'secret-key-value' },
|
||||
);
|
||||
assert.deepEqual(cameras, []);
|
||||
assert.match(warnings.join('\n'), /400/);
|
||||
assert.match(warnings.join('\n'), /400 \(check ONTARIO_511_API_KEY\)/);
|
||||
assert.doesNotMatch(warnings.join('\n'), /secret-key-value/);
|
||||
});
|
||||
Reference in new issue
Block a user