Skip to content

Commit 641ad09

Browse files
authored
fixed Deploy end-point to use the right param names (#300)
1 parent 02000db commit 641ad09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server/routes/deploy/prebuilt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export async function deployPrebuilt(fastify: FastifyInstance) {
5454
Body: Static<typeof requestBodySchema>;
5555
}>({
5656
method: "POST",
57-
url: "/deploy/:chain/:contract_type",
57+
url: "/deploy/:chain/:contractType",
5858
schema: {
5959
description: "Deploy prebuilt contract",
6060
tags: ["Deploy"],

src/server/routes/deploy/published.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function deployPublished(fastify: FastifyInstance) {
4545
Body: Static<typeof requestBodySchema>;
4646
}>({
4747
method: "POST",
48-
url: "/deploy/:chain/:publisher/:contract_name",
48+
url: "/deploy/:chain/:publisher/:contractName",
4949
schema: {
5050
summary: "Deploy published contract",
5151
description: "Deploy a published contract to the blockchain.",

0 commit comments

Comments
 (0)