mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Made url shortening API require account.
This commit is contained in:
parent
469f423508
commit
80199b3ba7
@ -26,7 +26,6 @@ namespace Teknik.Areas.API.V1.Controllers
|
|||||||
public ShortenAPIv1Controller(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
|
public ShortenAPIv1Controller(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[AllowAnonymous]
|
|
||||||
[TrackPageView]
|
[TrackPageView]
|
||||||
public IActionResult Shorten(ShortenAPIv1Model model)
|
public IActionResult Shorten(ShortenAPIv1Model model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user