Skip to content

Commit

Permalink
fix: fix for functionality after rebase mess
Browse files Browse the repository at this point in the history
  • Loading branch information
reinamora137 committed Apr 3, 2024
1 parent b73db9f commit 03d1e4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
7 changes: 6 additions & 1 deletion lib/controller/stamp.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { getClient, StampsClass } from "../database/index.ts";
import { get_dispenses, get_holders, get_sends } from "utils/xcp.ts";
import {
get_dispensers,
get_dispenses,
get_holders,
get_sends,
} from "utils/xcp.ts";
import { BIG_LIMIT } from "utils/constants.ts";

export async function api_get_stamps(
Expand Down
4 changes: 0 additions & 4 deletions routes/api/v2/cursed/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ import {
* schema:
* $ref: '#/components/schemas/ErrorResponseBody'
*/
export const handler = async (
_req: Request,
ctx: IdHandlerContext,
): Promise<Response> => {
export const handler = async (
_req: Request,
ctx: IdHandlerContext,
Expand Down
1 change: 0 additions & 1 deletion routes/api/v2/stamps/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
IdHandlerContext,
StampResponseBody,
} from "globals";
} from "globals";

/**
* @swagger
Expand Down
6 changes: 0 additions & 6 deletions routes/api/v2/stamps/dispensers/[id].ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { HandlerContext } from "$fresh/server.ts";
import {
CommonClass,
connectDb,
summarize_issuances,
} from "$lib/database/index.ts";
import { api_get_stamp } from "$lib/controller/stamp.ts";
import {
ErrorResponseBody,
Expand Down

0 comments on commit 03d1e4f

Please sign in to comment.