Something changed idk

This commit is contained in:
2026-02-13 18:02:52 -06:00
parent 628dc35dea
commit 7466bbdeac
4 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { authMiddleware } from "../middleware/authorization";
/* /v1/company/[id] */
export default createRoute(
"get",
["/:identifier"],
["/company/:identifier"],
async (c) => {
const company = await companies.fetch(c.req.param("identifier"));
+4 -2
View File
@@ -1,2 +1,4 @@
export { default as fetchAll } from "./fetchAll";
//export { default as fetch } from "./fetch";
import { default as fetchAll } from "./fetchAll";
import { default as fetch } from "./fetch";
export { fetch, fetchAll };
+1 -1
View File
@@ -49,7 +49,7 @@ app.notFound((c) => {
v1.route("/teapot", teapot);
v1.route("/auth", require("./routers/authRouter").default);
v1.route("/user", require("./routers/user").default);
v1.route("/company", require("./routers/companyRouter").default);
v1.route("/", require("./routers/companyRouter").default);
app.route("/v1", v1);
export default app;