[#1] No animated text

This commit is contained in:
Ahmed Al-Taiar
2024-10-24 21:22:02 -04:00
parent f097d7761d
commit 54a34ef5ee
6 changed files with 37 additions and 78 deletions

View File

@ -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) {