diff --git a/Yavsc/ApiControllers/accounting/ProfileApiController.cs b/Yavsc/ApiControllers/accounting/ProfileApiController.cs index c087d8e6..0c781a04 100644 --- a/Yavsc/ApiControllers/accounting/ProfileApiController.cs +++ b/Yavsc/ApiControllers/accounting/ProfileApiController.cs @@ -19,7 +19,7 @@ namespace Yavsc.ApiControllers.accounting _userManager = userManager; } - [HttpGet("memail/{allow}")] + [HttpGet("{allow}",Name ="setmonthlyemail")] public async Task SetMonthlyEmail(bool allow) { var user = await _userManager.FindByIdAsync(User.GetUserId());