formatting

This commit is contained in:
2023-10-27 15:09:48 -05:00
parent 587e273435
commit 96a2b74fa7
8 changed files with 22 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
import { apiBaseUrl } from '../app.config.js';
import { apiBaseUrl } from "../app.config.js";
export function getAuthKeyFromProperties(props) {
var authKey;
@@ -28,12 +28,9 @@ export function getTenantProperty(key, props) {
var authKey = getAuthKeyFromProperties(props);
console.log(`Fetching TPS Property [${key}]`);
fetch(
`${apiBaseUrl}/tps?propertyName=${key}&authKey=${authKey}`,
{
credentials: "include", // fetch won't send cookies unless you set credentials
}
)
fetch(`${apiBaseUrl}/tps?propertyName=${key}&authKey=${authKey}`, {
credentials: "include", // fetch won't send cookies unless you set credentials
})
.then((response) => {
// check for error response
if (!response.ok) {