updated absensi
This commit is contained in:
@@ -6,6 +6,10 @@ const history = async (req, res) => {
|
||||
return response;
|
||||
};
|
||||
|
||||
const getAll = async (req, res) => {
|
||||
const response = await services.getAll(req, res)
|
||||
}
|
||||
|
||||
const create = async (req, res) => {
|
||||
const response = await services.create(req, res);
|
||||
return response;
|
||||
@@ -26,10 +30,17 @@ const destroy = async (req, res) => {
|
||||
return response;
|
||||
};
|
||||
|
||||
const checkLocation = async (req, res) => {
|
||||
const response = await services.checkLocation(req, res)
|
||||
return response
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
create,
|
||||
history,
|
||||
update,
|
||||
destroy,
|
||||
clockOut
|
||||
clockOut,
|
||||
getAll,
|
||||
checkLocation
|
||||
}
|
||||
Reference in New Issue
Block a user