Skip to content

Commit

Permalink
fix: enforce guild name length > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyUnderStars committed Sep 22, 2024
1 parent 10c4998 commit b0d721e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/api/guild/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createGuild } from "../../../util/entity/guild";
const router = Router({ mergeParams: true });

const GuildCreate = z.object({
name: z.string(),
name: z.string().min(1),
});

router.post(
Expand Down

0 comments on commit b0d721e

Please sign in to comment.