Update ordering

This commit is contained in:
2023-07-24 22:14:11 +02:00
parent cd24560e41
commit 89d52644ec

View File

@@ -18,6 +18,7 @@ async fn get_services(
) -> impl IntoResponse {
let services = db.service()
.find_many(vec![])
.order_by(service::id::order(prisma_client_rust::Direction::Asc))
.exec()
.await
.unwrap();