mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-03 21:15:23 +02:00
fix: address PR review feedback
- Use "kill" audit action for killContainer instead of "stop" - Pass undefined instead of empty string for optional serverId
This commit is contained in:
@@ -135,7 +135,7 @@ export const dockerRouter = createTRPCRouter({
|
||||
}
|
||||
await containerKill(input.containerId, input.serverId);
|
||||
await audit(ctx, {
|
||||
action: "stop",
|
||||
action: "kill",
|
||||
resourceType: "docker",
|
||||
resourceId: input.containerId,
|
||||
resourceName: input.containerId,
|
||||
|
||||
Reference in New Issue
Block a user