clean code
This commit is contained in:
parent
68034d0db1
commit
24ece3ffe6
@ -53,7 +53,6 @@ const fetchCommunitySentiment = async (pb, ticker, cookies) => {
|
|||||||
const output = await pb.collection("sentiment").getFullList({
|
const output = await pb.collection("sentiment").getFullList({
|
||||||
filter: `ticker="${ticker}" && created >= "${today}" && created < "${tomorrow}"`,
|
filter: `ticker="${ticker}" && created >= "${today}" && created < "${tomorrow}"`,
|
||||||
});
|
});
|
||||||
console.log(output);
|
|
||||||
return {
|
return {
|
||||||
alreadyVoted: cookieVote || null,
|
alreadyVoted: cookieVote || null,
|
||||||
sentimentData: output?.at(0) || {},
|
sentimentData: output?.at(0) || {},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user