Initial commit
This commit is contained in:
22
services/device.service.js
Normal file
22
services/device.service.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const dbcontroller = require('../db');
|
||||
|
||||
const postRequestToDo = async function (data, msn) {
|
||||
try {
|
||||
return { success: true }
|
||||
} catch (e) {
|
||||
throw new Error(e.message)
|
||||
}
|
||||
}
|
||||
|
||||
const getRequestToDo = async function (msn) {
|
||||
try {
|
||||
return { success: true }
|
||||
} catch (e) {
|
||||
throw new Error(e.message)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
postRequestToDo,
|
||||
getRequestToDo,
|
||||
}
|
||||
Reference in New Issue
Block a user