switch to auth token
This commit is contained in:
@ -51,7 +51,7 @@ export const getLocationForWifi = async (
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
Cookie: `auth=${process.env.WIGLE_TOKEN}`,
|
||||
Authorization: `Basic ${process.env.WIGLE_TOKEN}`,
|
||||
},
|
||||
});
|
||||
return await response.json();
|
||||
|
Reference in New Issue
Block a user