refactor(api): 🔥 Remove useless allowedMethods from route meta info

This commit is contained in:
Jesse Wierzbinski 2024-09-27 13:08:47 +02:00
parent b040c88445
commit 2254c3d39c
No known key found for this signature in database
95 changed files with 7 additions and 99 deletions

View file

@ -3,7 +3,6 @@ import { createRoute, z } from "@hono/zod-openapi";
import { config } from "~/packages/config-manager";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -4,7 +4,6 @@ import { exportJWK } from "jose";
import { config } from "~/packages/config-manager";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -3,7 +3,6 @@ import { createRoute, z } from "@hono/zod-openapi";
import manifest from "~/package.json";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -3,7 +3,6 @@ import { createRoute } from "@hono/zod-openapi";
import { config } from "~/packages/config-manager";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -3,7 +3,6 @@ import { createRoute, z } from "@hono/zod-openapi";
import { config } from "~/packages/config-manager";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -9,7 +9,6 @@ import { config } from "~/packages/config-manager";
import { User } from "~/packages/database-interface/user";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},

View file

@ -12,7 +12,6 @@ import { User } from "~/packages/database-interface/user";
import { ErrorSchema } from "~/types/api";
export const meta = applyConfig({
allowedMethods: ["GET"],
auth: {
required: false,
},