feat(services): add GET /channels/[channelId]

This commit is contained in:
Divlo
2021-12-28 21:53:44 +00:00
parent 2871c4c9e0
commit 567b5aa2d8
5 changed files with 141 additions and 2 deletions

View File

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