From e8fdeebb8f85cdaa9dd1190745ce038eac7d5742 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 11 Dec 2018 09:23:51 +0000 Subject: [PATCH] routing monthly setup api from /api/profile/setmonthlyemail --- Yavsc/ApiControllers/accounting/ProfileApiController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());