mirror of
https://github.com/versia-pub/server.git
synced 2026-03-14 06:19:15 +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
|
|
@ -8,7 +8,6 @@ import { Attachment } from "~/packages/database-interface/attachment";
|
|||
import { ErrorSchema } from "~/types/api";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["GET", "PUT"],
|
||||
ratelimits: {
|
||||
max: 10,
|
||||
duration: 60,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import { Attachment } from "~/packages/database-interface/attachment";
|
|||
import { ErrorSchema } from "~/types/api";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["POST"],
|
||||
ratelimits: {
|
||||
max: 10,
|
||||
duration: 60,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue