add profit to installed device
This commit is contained in:
@@ -55,7 +55,8 @@ module.exports.deviceRegistration = [
|
||||
status: 1,
|
||||
registerDate: new Date(),
|
||||
userId: req.user_id,
|
||||
IMEI: req.body.IMEI
|
||||
IMEI: req.body.IMEI,
|
||||
profit: fee.amount
|
||||
}
|
||||
// 1.add to installed device
|
||||
const installedDevice = await InstalledDevice.create(data)
|
||||
|
||||
Reference in New Issue
Block a user