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 { ) -> impl IntoResponse {
let services = db.service() let services = db.service()
.find_many(vec![]) .find_many(vec![])
.order_by(service::id::order(prisma_client_rust::Direction::Asc))
.exec() .exec()
.await .await
.unwrap(); .unwrap();