add missing semicolon

This commit is contained in:
Paul Fitzpatrick 2024-05-23 15:05:21 -04:00
parent 7383b3f8f6
commit 307334e8dd
No known key found for this signature in database
GPG Key ID: 07F16BF3214888F6

View File

@ -68,7 +68,7 @@ export class BaseAPI {
// TODO: should this be more selective?
if (typeof window !== 'undefined' && window.location &&
window.location.pathname.endsWith('/admin')) {
const bootKey = new URLSearchParams(window.location.search).get('boot-key')
const bootKey = new URLSearchParams(window.location.search).get('boot-key');
if (bootKey) {
this._headers['X-Boot-Key'] = bootKey;
}