Order results
This commit is contained in:
parent
76de3cc5ff
commit
5386273dc4
|
@ -1,5 +1,7 @@
|
||||||
import prisma from '../../prisma'
|
import prisma from '../../prisma'
|
||||||
|
|
||||||
export async function subnets() {
|
export async function subnets() {
|
||||||
return prisma.network.findMany()
|
return prisma.network.findMany({
|
||||||
|
orderBy: { name: 'asc' }
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user