Skip to content

Commit

Permalink
fix: add total arg to fetching of super likes stat
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jan 18, 2024
1 parent 228aaee commit e231580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/utils/datahub/active-staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export async function getRewardHistory(address: string): Promise<RewardHistory>

const GET_SUPER_LIKES_STATS = gql`
query GetSuperLikesStats($from: String!, $to: String!) {
activeStakingSuperLikeCountsByDate(args: { fromDate: $from, toDate: $to }) {
activeStakingSuperLikeCountsByDate(args: { fromDate: $from, toDate: $to, total: true }) {
byDate {
count
dayUnixTimestamp
Expand Down

0 comments on commit e231580

Please sign in to comment.