Move aliases up (not happy with how it looks still)

This commit is contained in:
Amelia 2025-05-07 19:42:10 +02:00
parent fc39a2035f
commit 697a3bb52b
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA
4 changed files with 7 additions and 11 deletions

View file

@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Data;
using API.Data.Repositories;
@ -187,7 +186,7 @@ public class PersonController : BaseApiController
/// <param name="dto"></param>
/// <returns></returns>
[HttpPost("merge")]
public async Task<ActionResult<PersonDto>> MergePersons(PersonMergeDto dto)
public async Task<ActionResult<PersonDto>> MergePeople(PersonMergeDto dto)
{
var dst = await _unitOfWork.PersonRepository.GetPersonById(dto.DestId, PersonIncludes.All);
if (dst == null) return BadRequest();