Browse Source

chore: notify messaging

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/2465/head
mertmit 3 years ago committed by Pranav C
parent
commit
4bf543b5e8
  1. 7
      packages/nocodb/src/lib/meta/api/projectApis.ts

7
packages/nocodb/src/lib/meta/api/projectApis.ts

@ -416,6 +416,13 @@ export async function projectCost(req, res) {
cost = Math.min(120 * userCount, 36000); cost = Math.min(120 * userCount, 36000);
} }
Tele.event({
event: 'a:project:cost',
data: {
cost
}
});
res.json({ cost }); res.json({ cost });
} }

Loading…
Cancel
Save