refactor(ocp): moved printers to there own folder to keep everything clean
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { createRoute, OpenAPIHono, z } from "@hono/zod-openapi";
|
||||
import { responses } from "../../../../globalUtils/routeDefs/responses.js";
|
||||
import { tryCatch } from "../../../../globalUtils/tryCatch.js";
|
||||
import { getPrinters } from "../../controller/getPrinters.js";
|
||||
import { getPrinters } from "../../controller/printers/getPrinters.js";
|
||||
|
||||
const app = new OpenAPIHono({ strict: false });
|
||||
const CreateLog = z.object({
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
import { createRoute, OpenAPIHono, z } from "@hono/zod-openapi";
|
||||
import { responses } from "../../../../globalUtils/routeDefs/responses.js";
|
||||
import { tryCatch } from "../../../../globalUtils/tryCatch.js";
|
||||
import { getPrinters } from "../../controller/getPrinters.js";
|
||||
import { updatePrinters } from "../../controller/updatePrinters.js";
|
||||
import { updatePrinters } from "../../controller/printers/updatePrinters.js";
|
||||
|
||||
const app = new OpenAPIHono({ strict: false });
|
||||
const CreateLog = z.object({
|
||||
|
||||
Reference in New Issue
Block a user