mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor(api): 🔥 Remove useless allowedMethods from route meta info
This commit is contained in:
parent
b040c88445
commit
2254c3d39c
95 changed files with 7 additions and 99 deletions
|
|
@ -14,7 +14,6 @@ import { OAuthManager } from "~/packages/database-interface/oauth";
|
|||
import { User } from "~/packages/database-interface/user";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["GET"],
|
||||
auth: {
|
||||
required: false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ import { OpenIdLoginFlows } from "~/drizzle/schema";
|
|||
import { config } from "~/packages/config-manager";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["GET"],
|
||||
auth: {
|
||||
required: false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import { db } from "~/drizzle/db";
|
|||
import { Tokens } from "~/drizzle/schema";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["POST"],
|
||||
auth: {
|
||||
required: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue