build(deps): update latest
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import dotenv from 'dotenv'
|
||||
import { readPackage } from 'read-pkg'
|
||||
import { FastifyDynamicSwaggerOptions } from 'fastify-swagger'
|
||||
import { FastifyDynamicSwaggerOptions } from '@fastify/swagger'
|
||||
|
||||
dotenv.config()
|
||||
|
||||
@ -19,8 +19,7 @@ export const swaggerOptions: FastifyDynamicSwaggerOptions = {
|
||||
{ name: 'guilds' },
|
||||
{ name: 'channels' },
|
||||
{ name: 'messages' },
|
||||
{ name: 'members' },
|
||||
{ name: 'uploads' }
|
||||
{ name: 'members' }
|
||||
],
|
||||
components: {
|
||||
securitySchemes: {
|
||||
|
@ -61,5 +61,5 @@ export default fastifyPlugin(
|
||||
request.user = user
|
||||
})
|
||||
},
|
||||
{ fastify: '3.x' }
|
||||
{ fastify: '4.x' }
|
||||
)
|
||||
|
@ -85,5 +85,5 @@ export default fastifyPlugin(
|
||||
fastify.io.instance.close()
|
||||
})
|
||||
},
|
||||
{ fastify: '3.x' }
|
||||
{ fastify: '4.x' }
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ import fs from 'node:fs'
|
||||
import axios from 'axios'
|
||||
import FormData from 'form-data'
|
||||
import { FastifyInstance, FastifyRequest } from 'fastify'
|
||||
import { Multipart } from 'fastify-multipart'
|
||||
import { Multipart } from '@fastify/multipart'
|
||||
|
||||
import {
|
||||
FILE_UPLOADS_API_KEY,
|
||||
|
Reference in New Issue
Block a user