FCC-Project_Exercise-Tracker/scripts/response/log.JS
2025-04-11 01:16:04 +00:00

19 lines
No EOL
343 B
JavaScript

const DBParser = require(`./parser.JS`)
class Log extends DBParser {
/*
Clean the log information.
@param {Object} ENTRY the selected entry, or the entries
*/
constructor(ENTRY) {
super(ENTRY, {
"username": "name",
"count": "count",
"_id": "ID",
"log": "activities"
});
};
}
module.exports = Log;