bin/play.js
function updateLastSeen (params, config) {
  qpm_media.updateLastSeen(params, config).then(function (ret) {
    if (ret.conn) {
      var conn = ret.conn
      conn.close()
    }
  }).catch(function (err) {
    if (err.conn) {
      var conn = err.conn
      conn.close()
    }
    console.error(err.err)
  })
}
function updateLastSeen (params, config) {
  qpm_media.updateLastSeen(params, config).then(function (ret) {
    if (ret.conn) {
      var conn = ret.conn
      conn.close()
    }
  }).catch(function (err) {
    if (err.conn) {
      var conn = err.conn
      conn.close()
    }
    console.error(err.err)
  })
}
function updateLastSeen ( params , config ) { qpm_media . updateLastSeen ( params , config ) . then ( function ( ret ) { if ( ret . conn ) { var conn = ret . conn conn . close ( ) } } ) . catch ( function ( err ) { if ( err . conn ) { var conn = err . conn conn . close ( ) } console . error ( err . err ) } ) }
Update last seen time.
@param  {objext} params The params update.
@param  {object} config Optional config.
Update last seen time .