Fix: PUT requires a payload to work #7
@@ -202,7 +202,11 @@ export const update = (server, model) => {
 | 
				
			|||||||
      reply(instance);
 | 
					      reply(instance);
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    config: defaultConfig,
 | 
					    config: _.defaultsDeep({
 | 
				
			||||||
 | 
					      validate: {
 | 
				
			||||||
 | 
					        payload: joi.object().required(),
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					    }, defaultConfig),
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user