Поправил хэдер аутентификации

master
Sipachev Igor 3 years ago
parent 4a3a8c430c
commit 993caaea23
  1. 2
      popup/src/api/Handlers/TokenRequestHandler.ts

@ -3,7 +3,7 @@ import { RequestHandler, RequestInterface } from '@/api/HttpClient'
export class TokenRequestHandler extends RequestHandler {
handle = (request: RequestInterface): void => {
request.headers = request.headers || {}
request.headers['x-token'] = 'GxwGRM'
request.headers['x-plugin-token'] = 'GxwGRM'
console.log(request, 'DeviceIdHandler')
}
}

Loading…
Cancel
Save