Skip to content

Commit

Permalink
Merge pull request #50 from KjellBerlin/Paid-orders-query
Browse files Browse the repository at this point in the history
Update name paid orders query
  • Loading branch information
KjellBerlin authored Aug 6, 2024
2 parents 0d1e9af + b7888d3 commit 8a7b7e1
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 8a7b7e1

Please sign in to comment.