code format

vnext
Paul Schneider 6 years ago
parent be10368006
commit 861008f5d0
1 changed files with 7 additions and 5 deletions

@ -302,7 +302,9 @@ namespace Yavsc.Controllers
public async Task<IActionResult> SetGoogleCalendar(string returnUrl, string pageToken) public async Task<IActionResult> SetGoogleCalendar(string returnUrl, string pageToken)
{ {
var calendars = await _calendarManager.GetCalendarsAsync(User.GetUserId(), pageToken); var uid = User.GetUserId();
var calendars = await _calendarManager.GetCalendarsAsync(uid, pageToken);
return View(new SetGoogleCalendarViewModel { return View(new SetGoogleCalendarViewModel {
ReturnUrl = returnUrl, ReturnUrl = returnUrl,
Calendars = calendars Calendars = calendars

Loading…