Skip to content

Commit

Permalink
feat: default sort by paid_at
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynndp authored and ZavenArra committed Feb 8, 2022
1 parent 08b9819 commit d90b147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/handlers/earningsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const earningsGetQuerySchema = Joi.object({
'amount',
'payment_system',
'effective_payment_date',
'status',
'paid_at'
),
order: Joi.string().valid('asc', 'desc'),
}).unknown(false);
Expand Down

0 comments on commit d90b147

Please sign in to comment.