var notification = {

  checkNotification: function(statusCode, data, notificationsEnabled) {
    return (
      statusCode === 200 && notification.isStatusUpdate(data) && notificationsEnabled
    );
  },

  isStatusUpdate: function(data) {
    return 'status' in data;
  },

  fetchUpdated: function(url, request, notificationCallback) {
    request.get(url + '/hyperty/update', function(err, response, statusCode) {
      if(err) {
        return console.error("[Updated hyperties] Error fetching from domain registry");
      }else if(statusCode == 200) {
        var body = {
          'updated': response
        };
      }

      notificationCallback(null, body);
    });
  }
};

module.exports = notification;

var notification = {

  checkNotification: function(statusCode, data, notificationsEnabled) {
    return (
      statusCode === 200 && notification.isStatusUpdate(data) && notificationsEnabled
    );
  },

  isStatusUpdate: function(data) {
    return 'status' in data;
  },

  fetchUpdated: function(url, request, notificationCallback) {
    request.get(url + '/hyperty/updated', function(err, response, statusCode) {
      if(err) {
        return console.error("[Updated hyperties] Error fetching from domain registry");
      }else if(statusCode == 200) {
        var body = {
          'updated': response
        };
      }

      notificationCallback(null, body);
    });
  }
};

module.exports = notification;

Fix hyperty update endpoint.