Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

329 B
Raw Blame
import { FastifyPluginCallback } from 'fastify';

import { userRoleUpdateRoute } from './user-role-update';
import { usersCreateRoute } from './users-create';

export const userRoutes: FastifyPluginCallback = (instance, _, done) => {
  instance.register(usersCreateRoute);
  instance.register(userRoleUpdateRoute);

  done();
};