static async heartbeat(req, res) {
        if(req.body && req.user) {
            await HashBrown.Service.DatabaseService.updateOne(req.project, req.environment + '.' + this.category, { id: req.params.id }, { viewedBy: req.user.id, viewedOn: new Date() });
        }
    }
/**
     * Updates the edited time of a resource
     */
Updates the edited time of a resource
Updates the edited time of a resource
static async heartbeat(req, res) {
        if(req.body && req.user) {
            await HashBrown.Service.DatabaseService.updateOne(req.project, req.environment + '.' + this.category, { id: req.params.id }, { viewedBy: req.user.id, viewedOn: new Date() });
        }
    }
static async heartbeat ( req , res ) { if ( req . body && req . user ) { await HashBrown . Service . DatabaseService . updateOne ( req . project , req . environment + '.' + this . category , { id : req . params . id } , { viewedBy : req . user . id , viewedOn : new Date ( ) } ) ; } }
Updates the edited time of a resource
Updates the edited time of a resource