diff --git a/src/routes/forward/create.ts b/src/routes/forward/create.ts index 8414f0b..22b38e5 100644 --- a/src/routes/forward/create.ts +++ b/src/routes/forward/create.ts @@ -22,20 +22,20 @@ export function route(routeOptions: RouteOptions) { required: ["token", "name", "protocol", "sourceIP", "sourcePort", "destinationPort", "providerID"], properties: { - token: { type: "string" }, + token: { type: "string" }, - name: { type: "string" }, - description: { type: "string" }, + name: { type: "string" }, + description: { type: "string" }, - protocol: { type: "string" }, + protocol: { type: "string" }, - sourceIP: { type: "string" }, - sourcePort: { type: "number" }, + sourceIP: { type: "string" }, + sourcePort: { type: "number" }, destinationPort: { type: "number" }, - providerID: { type: "number" }, - autoStart: { type: "boolean" } + providerID: { type: "number" }, + autoStart: { type: "boolean" } } } } diff --git a/src/routes/forward/remove.ts b/src/routes/forward/remove.ts index d1f1cd3..8f2d087 100644 --- a/src/routes/forward/remove.ts +++ b/src/routes/forward/remove.ts @@ -23,7 +23,7 @@ export function route(routeOptions: RouteOptions) { properties: { token: { type: "string" }, - id: { type: "number" } + id: { type: "number" } } } }