feat(services): add messages endpoints

This commit is contained in:
Divlo
2022-02-28 15:51:39 +00:00
parent 560b966a61
commit f74cf25a68
6 changed files with 458 additions and 0 deletions

View File

@ -4,10 +4,12 @@ import { usersService } from './users/index.js'
import { guildsService } from './guilds/index.js'
import { uploadsService } from './uploads/index.js'
import { channelsService } from './channels/index.js'
import { messagesService } from './messages/index.js'
export const services: FastifyPluginAsync = async (fastify) => {
await fastify.register(channelsService)
await fastify.register(guildsService)
await fastify.register(messagesService)
await fastify.register(uploadsService)
await fastify.register(usersService)
}