Skip to content

Commit 2b101b9

Browse files
Merge pull request #12 from ChangePlusPlusVandy/setup/dev-setup
formatting
2 parents 38fd3aa + 23419e6 commit 2b101b9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

backend/controllers/organizationController.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,10 @@ export const registerOrganization = async (req: Request, res: Response) => {
108108
!primaryContactEmail ||
109109
!primaryContactPhone
110110
) {
111-
return res
112-
.status(400)
113-
.json({
114-
error:
115-
'Email, password, name, and primary contact information (name, email, phone) are required',
116-
});
111+
return res.status(400).json({
112+
error:
113+
'Email, password, name, and primary contact information (name, email, phone) are required',
114+
});
117115
}
118116
const existingOrg = await prisma.organization.findFirst({
119117
where: {

0 commit comments

Comments
 (0)