routing monthly setup api from /api/profile/setmonthlyemail

vnext
Paul Schneider 6 years ago
parent 51753e40c1
commit e8fdeebb8f
1 changed files with 1 additions and 1 deletions

@ -19,7 +19,7 @@ namespace Yavsc.ApiControllers.accounting
_userManager = userManager;
}
[HttpGet("memail/{allow}")]
[HttpGet("{allow}",Name ="setmonthlyemail")]
public async Task<object> SetMonthlyEmail(bool allow)
{
var user = await _userManager.FindByIdAsync(User.GetUserId());

Loading…