fixing signUp
This commit is contained in:
@@ -185,7 +185,6 @@ const signUp = async (req, res) => {
|
||||
|
||||
const branch = await Branch.findOne({ where: { id: branch_id } });
|
||||
if (!branch) {
|
||||
await t.rollback();
|
||||
return response.failed(res, 404, "Branch tidak ditemukan");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user