feat: comments post min delay

This commit is contained in:
NGPixel
2020-05-31 15:54:20 -04:00
parent 8a74904731
commit e74605501f
4 changed files with 133 additions and 103 deletions

View File

@@ -42,7 +42,7 @@ type CommentMutation {
content: String!
guestName: String
guestEmail: String
): CommentCreateResponse @auth(requires: ["write:comments", "manage:system"])
): CommentCreateResponse @auth(requires: ["write:comments", "manage:system"]) @rateLimit(limit: 1, duration: 15)
update(
id: Int!