Skip to content

Commit

Permalink
updating particular components response
Browse files Browse the repository at this point in the history
  • Loading branch information
moovendhan-v committed Apr 25, 2024
1 parent 613c399 commit d181da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/components.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const getParticularComponent = async (req,res)=>{
return res.send(jsonStatusError({ errorStatus : true, statusCode : "", message : 'Fails in fetching components details Please contact admin Please visit contactus page for more details', response : null, count : 0 }));
}
const response = await readFilesInformations(data.categories, data.folder_name,{data, user}, (err, result) => {
err ? res.send(err):res.send(result);
err ? res.send(err):res.send(jsonStatusSuccess({errorStatus: false, statusCode: 200, response: result}));
});
} catch (error) {
res.send(error)
Expand Down

0 comments on commit d181da5

Please sign in to comment.