Skip to content

Commit

Permalink
bash init
Browse files Browse the repository at this point in the history
  • Loading branch information
zobkazi committed Apr 19, 2024
1 parent 77a5249 commit 1c0241c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/services/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"dev": "ts-node-dev -r tsconfig-paths/register ./src/index.ts",
"build": "tsc",
"build": "tsc & tsc-alias",
"migrate:dev": "prisma migrate dev",
"migrate:prod": "prisma migrate deploy"
},
Expand Down
1 change: 1 addition & 0 deletions packages/services/user/src/controllers/createUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const createUser = async (req: Request, res: Response, next: NextFunction) => {
// create user
const createdUser = await prisma.user.create({
data: parsedBody.data,

});

res.status(201).json(createdUser);
Expand Down

0 comments on commit 1c0241c

Please sign in to comment.