reduce # generations to 10

This commit is contained in:
Ishaan Dey
2024-05-17 22:25:55 -07:00
parent 80547e9ae1
commit fa6a92b9b4
4 changed files with 19 additions and 22 deletions

View File

@ -181,7 +181,7 @@ export default {
if (!dbUser) {
return new Response("User not found.", { status: 400 });
}
if (dbUser.generations !== null && dbUser.generations >= 30) {
if (dbUser.generations !== null && dbUser.generations >= 10) {
return new Response("You reached the maximum # of generations.", { status: 400 });
}