[#1] No animated text
This commit is contained in:
@ -3,8 +3,6 @@ import { db } from 'api/src/lib/db'
|
||||
|
||||
import { hashPassword } from '@redwoodjs/auth-dbauth-api'
|
||||
|
||||
const MAX_TITLES = 5
|
||||
|
||||
export default async () => {
|
||||
try {
|
||||
const admin = {
|
||||
@ -44,9 +42,7 @@ export default async () => {
|
||||
if (!titles)
|
||||
await db.titles.create({
|
||||
data: {
|
||||
titles: Array.from({ length: MAX_TITLES }).map(
|
||||
(_, i) => `a title ${i + 1}`
|
||||
),
|
||||
titles: Array.from({ length: 3 }).map((_, i) => `title ${i + 1}`),
|
||||
},
|
||||
})
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user