Commit b287e4eb by kashif ansari

logs removed

1 parent 29949a91
......@@ -12,7 +12,6 @@ module.exports = createCoreController(
async create(ctx) {
// const currentChannelPartner = ctx.state.user;
const reraNumber = ctx.request.body?.data?.reraNumber;
console.log(`Rera Number ${reraNumber}`);
if (!reraNumber) {
return ctx.bad(`Please specify your rera number.`);
}
......@@ -24,8 +23,6 @@ module.exports = createCoreController(
filters: { reraNumber: reraNumber },
}
);
console.log('Existing Channel Partner');
console.log(existingChannelPartner);
if (existingChannelPartner && existingChannelPartner.length !== 0) {
return ctx.badRequest(
`Channel Partner Already Exist with the Given rera number ${reraNumber}`
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!