Skip to content

Commit

Permalink
Update name paid orders query
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellBerlin committed Aug 6, 2024
1 parent a6163a3 commit b7888d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/carbonara/core/order/OrderQuery.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OrderQuery(
): Query {

@GraphQLDescription("Get all paid orders of an user")
suspend fun getOrdersByUserIdAndPaid(userId: String): List<OrderDto> {
suspend fun paidOrders(userId: String): List<OrderDto> {
return orderService.getPaidOrdersByAuth0UserId(userId)
}
}

0 comments on commit b7888d3

Please sign in to comment.