text: const { get } = require('lodash');
  
  module.exports = () => {
    return model => {
      const type = get(model, 'data.model');
  
      if (type === 'project') {
        return model.patch({ extended: null, deadline: null });
      }
  
      return Promise.resolve();
    };
  };
  