fixed load and overlay flow, missing sync
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9abe30904f
commit
db41143312
10 changed files with 51 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue