Skip to content

Commit

Permalink
fix: icon not required
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed May 25, 2022
1 parent 554b4b3 commit 5f5f8d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/controllers/organization.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ export const createV2 = async (req, res) => {
orgId: myOrganization.orgUid,
});
} else {
if (!_.get(req, 'files.file.data')) {
throw new Error('Missing required Icon');
}

const { name } = req.body;
let icon;

Expand Down

0 comments on commit 5f5f8d5

Please sign in to comment.