feat: add POST /api/v1/installation/users to seed user

This commit is contained in:
Ali BARIN
2024-05-07 15:39:22 +00:00
parent 717c81fa2b
commit b30f97db3e
9 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { Router } from 'express';
import asyncHandler from 'express-async-handler';
import { authorizeInstallation } from '../../../../helpers/authorize-installation.js';
import createUserAction from '../../../../controllers/api/v1/installation/users/create-user.js';
const router = Router();
router.post(
'/',
authorizeInstallation,
asyncHandler(createUserAction)
);
export default router;