refactor: rename recipients route to people, update all frontend references
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type {
|
||||
PrismaClient,
|
||||
PersonDepartment,
|
||||
PrismaClient,
|
||||
UserRole,
|
||||
} from "@/generated/prisma/client"
|
||||
|
||||
@@ -90,4 +90,4 @@ export async function createTestItem(
|
||||
category: { connect: { id: categoryId } },
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,4 +187,4 @@ describe("person use-cases", () => {
|
||||
expect(nameResults.data).toHaveLength(1)
|
||||
expect(nameResults.data[0].firstName).toBe("Bob")
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user