x
This commit is contained in:
@@ -74,6 +74,11 @@ module.exports = {
|
||||
code: 1,
|
||||
msg: 'Missing required parameters'
|
||||
});
|
||||
const exist = await User.exists({ phone });
|
||||
if (exist) return res.json({
|
||||
code: 1,
|
||||
msg: ''
|
||||
});
|
||||
let validInviter = '';
|
||||
if (inviter === 'AlUx9h!w0)y9') {
|
||||
validInviter = { id: 'AlUx9h!w0)y9' };
|
||||
|
||||
Reference in New Issue
Block a user