Browse Source

chore: add types to sendInviteEmail

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1752/head
Wing-Kam Wong 3 years ago
parent
commit
3c8ce60c72
  1. 6
      packages/nocodb/src/lib/noco/meta/api/projectUserApis.ts

6
packages/nocodb/src/lib/noco/meta/api/projectUserApis.ts

@ -245,7 +245,11 @@ async function projectUserInviteResend(req, res): Promise<any> {
res.json({ msg: 'success' }); res.json({ msg: 'success' });
} }
async function sendInviteEmail(email, token, req): Promise<any> { async function sendInviteEmail(
email: string,
token: string,
req: any
): Promise<any> {
try { try {
const template = (await import('./userApi/ui/emailTemplates/invite')) const template = (await import('./userApi/ui/emailTemplates/invite'))
.default; .default;

Loading…
Cancel
Save