Compare commits
1 Commits
3046aea2ac
...
d573536ba4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d573536ba4 |
@ -24,6 +24,7 @@ namespace Website.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("links/{linkId:guid}/comment")]
|
[HttpPost("links/{linkId:guid}/comment")]
|
||||||
|
[ValidateAntiForgeryToken]
|
||||||
public IActionResult Create(PublishCommentCommand cmd)
|
public IActionResult Create(PublishCommentCommand cmd)
|
||||||
{
|
{
|
||||||
if (!ModelState.IsValid)
|
if (!ModelState.IsValid)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user