Add FS user page images, fix small shit

This commit is contained in:
Tim
2025-06-18 14:48:49 +02:00
parent 8522aab583
commit fb0ea31d01
14 changed files with 11 additions and 9 deletions

View File

@@ -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")

View File

@@ -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());