Fix author parameter name in deleteAuthor method

Changed the parameter name from 'machineId' to 'author' in the deleteAuthor method to reflect the actual parameter expected by the route. This improves code clarity and ensures the method receives the correct data.
This commit is contained in:
Mathis H (Avnyr) 2024-10-08 13:42:54 +02:00
parent 6600c6310a
commit 52870aeb0d
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -29,7 +29,7 @@ export class AuthorsController {
@UseGuards(AdminGuard)
@Delete(":autor")
async deleteAuthor(@Param("machineId") machineId: string) {}
async deleteAuthor(@Param("author") author: string) {}
//TODO Patch