clean code
This commit is contained in:
parent
92277bc9d2
commit
2d52760775
@ -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
|
||||
|
||||
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user