removed unused
This commit is contained in:
@@ -277,7 +277,13 @@ export class FastcheckPage {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
const id = this.partnerId() || this.defaultPartnerId;
|
const id = this.partnerId() || this.defaultPartnerId;
|
||||||
const sessionId = localStorage.getItem('fc_session') ?? '';
|
const sessionId = (localStorage.getItem('fc_session') ?? '').trim();
|
||||||
|
|
||||||
|
if (!sessionId) {
|
||||||
|
this.openAuth('new');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const headers: Record<string, string> = {
|
const headers: Record<string, string> = {
|
||||||
Authorization: JSON.stringify({ sessionID: sessionId, partnerID: id })
|
Authorization: JSON.stringify({ sessionID: sessionId, partnerID: id })
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user