fix: linting

This commit is contained in:
sashagoncharov19
2024-09-04 10:49:38 +00:00
parent 7c920dde71
commit 21a646ce66
2 changed files with 102 additions and 101 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
import { z } from "zod";
import {
getConfig,
containerRestart,
getConfig,
getContainers,
getContainersByAppLabel,
getContainersByAppNameMatch,
@@ -18,7 +18,8 @@ export const dockerRouter = createTRPCRouter({
z.object({
containerId: z.string().min(1),
}),
).mutation(async ({ input }) => {
)
.mutation(async ({ input }) => {
return await containerRestart(input.containerId);
}),