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:
parent
6600c6310a
commit
52870aeb0d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user