migrating session/map it to guid.
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
155cb4ea9a
commit
195533bce0
17 changed files with 672 additions and 82 deletions
|
@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Authorization;
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Sledgemapper.Api.Commands;
|
||||
using Sledgemapper.Shared.Entities;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
@ -38,7 +39,7 @@ namespace Sledgemapper.Api.Controllers
|
|||
}
|
||||
|
||||
[HttpPost("overlay")]
|
||||
public async Task Post(string campaign, string mapName, [FromBody] Overlay overlay)
|
||||
public async Task Post(Guid campaign, string mapName, [FromBody] Overlay overlay)
|
||||
{
|
||||
await _mediator.Send(new NewOverlayCommand(campaign, mapName, overlay, UserId));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue