clean code

This commit is contained in:
MuslemRahimi 2024-09-23 22:53:57 +02:00
parent 68034d0db1
commit 24ece3ffe6

View File

@ -53,7 +53,6 @@ const fetchCommunitySentiment = async (pb, ticker, cookies) => {
const output = await pb.collection("sentiment").getFullList({
filter: `ticker="${ticker}" && created >= "${today}" && created < "${tomorrow}"`,
});
console.log(output);
return {
alreadyVoted: cookieVote || null,
sentimentData: output?.at(0) || {},