Fix bug and DB string

This commit is contained in:
Mr Swift
2024-08-06 19:28:55 +03:30
parent 2870a0995b
commit a3a54a0d83
7 changed files with 21 additions and 11 deletions
@@ -5,13 +5,6 @@ const User = require('../models/User');
const InstalledDevice = require('../models/GPS.InstalledDevice');
const Device = require('../models/GPS.Device');
/**
* get all installed device for user
* get all installed device for admin
* patch a installed device by id and type
*/
module.exports.deviceRegistration = [
[
body('IMEI').notEmpty().isString().withMessage('لطفا IMEI را وارد یا تصحیح کنید')