Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antho-bunny committed Sep 3, 2024
1 parent 99942bd commit 302f636
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ init({ store: petStore })(app);
const listener = BunnySDK.net.tcp.unstable_new();
console.log("Listening on: ", BunnySDK.net.tcp.toString(listener));
BunnySDK.net.http.serve(
async (req) => {
(req) => {
console.log(`[INFO]: ${req.method} - ${req.url}`);
return app.fetch(req);
},
Expand Down
2 changes: 1 addition & 1 deletion src/routes/create_pet.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { addNewPet, newPet } from "../domain/pets.ts";
import { App, createRoute, z } from "../infrastructure/mod.ts";
import { App, createRoute } from "../infrastructure/mod.ts";
import { State } from "./state.ts";
import { petSchema } from "./ty.ts";

Expand Down
1 change: 0 additions & 1 deletion src/routes/mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { App } from "../infrastructure/mod.ts";
import { petStore } from "../domain/pets.ts";
import { State } from "./state.ts";
import { addListPetsRoutes } from "./list_pets.ts";
import { addCreatePetRoute } from "./create_pet.ts";
Expand Down

0 comments on commit 302f636

Please sign in to comment.