refactor: remove obsolete project mode
This commit is contained in:
@@ -15,12 +15,11 @@ export async function createFixtureUser() {
|
||||
})
|
||||
}
|
||||
|
||||
export async function createFixtureProject(userId: string, mode: 'novel-promotion' | 'general' = 'novel-promotion') {
|
||||
export async function createFixtureProject(userId: string) {
|
||||
const id = suffix()
|
||||
return await prisma.project.create({
|
||||
data: {
|
||||
userId,
|
||||
mode,
|
||||
name: `project_${id}`,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user