clean code

This commit is contained in:
MuslemRahimi 2024-09-19 20:51:26 +02:00
parent 92277bc9d2
commit 2d52760775
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ export const handle = sequence(async ({ event, resolve }) => {
if (geoData && geoData.country === "US") {
isUS = true;
}
console.log("yelllo", geoData);
}
// Use a ternary operator instead of the logical OR for better compatibility

View File

@ -119,7 +119,7 @@ function handleTypeOfTrade(state:string)
ticker: $stockTicker,
};
const response = await fetch(`${data?.fastifyURL}/update-watchlist`, {
const response = await fetch(data?.fastifyURL+'/update-watchlist', {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(postData),