Add FS user page images, fix small shit
This commit is contained in:
@@ -106,7 +106,7 @@ public class AccountController {
|
||||
if(!accountService.deleteIfExists(accountId)) {
|
||||
return ResponseEntity.badRequest().build();
|
||||
}
|
||||
return ResponseEntity.ok();
|
||||
return ResponseEntity.ok(true);
|
||||
}
|
||||
|
||||
@RequestMapping(path = ACCOUNT_BASE, method = RequestMethod.GET, produces = "application/json")
|
||||
|
||||
@@ -97,7 +97,7 @@ public class FarmImageController {
|
||||
return ResponseEntity.ok().build();
|
||||
}
|
||||
|
||||
@RequestMapping(path = FARM_IMAGE_ARTICLES, method = RequestMethod.DELETE, produces = "application/json")
|
||||
@RequestMapping(path = FARM_IMAGE_ARTICLES, method = RequestMethod.GET, produces = "application/json")
|
||||
public ResponseEntity<List<ArticleWithFarmImageModel>> getFSArticles(HttpServletRequest request) {
|
||||
logRequest(request);
|
||||
return ResponseEntity.ok(farmImageService.getArticles());
|
||||
|
||||
Reference in New Issue
Block a user