Skip to content

Commit

Permalink
without changing
Browse files Browse the repository at this point in the history
  • Loading branch information
justraman committed Jul 10, 2024
1 parent 02b3930 commit 1aef401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server-extension/resolvers/top_collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class CollectionRow {
category!: string

@Field({ nullable: true })
verified_at!: string
verifiedAt!: string

@Field(() => Json, { nullable: true })
stats!: typeof JSON
Expand Down Expand Up @@ -125,7 +125,7 @@ export class TopCollectionResolver {
.addSelect('stats AS stats')
.addSelect('volume_last_duration AS volume')
.addSelect('sales_last_duration AS sales')
.addSelect('to_char(verified_at) AS verified_at')
.addSelect('verified_at::text AS "verifiedAt"')
.addSelect('category AS category')
.addSelect(
'CASE WHEN volume_previous_duration != 0 THEN ROUND((volume_last_duration - volume_previous_duration) * 100 / volume_previous_duration, 2) ELSE null END AS volume_change'
Expand Down

0 comments on commit 1aef401

Please sign in to comment.