fixed load and overlay flow, missing sync
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michele Scandura 2021-09-17 11:42:36 +01:00
parent 9abe30904f
commit db41143312
10 changed files with 51 additions and 19 deletions

View file

@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Sledgemapper.Api.Commands;
using Sledgemapper.Shared.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@ -65,7 +66,7 @@ namespace Sledgemapper.Api.Controllers
[HttpGet]
[Route("{campaignName}/maps")]
public async Task<List<Session>> GetMaps(string campaignName)
public async Task<List<Session>> GetMaps(Guid campaignName)
{
var result = await _mediator.Send(new GetCampaignMapsCommand(campaignName, UserId.ToString()));
return result;