decomissioned bookmark repo to combine with Scan history repo

This commit is contained in:
heyethereum
2024-07-24 21:26:40 +08:00
parent 7cb68e2ec0
commit d29dddd133
4 changed files with 43 additions and 21 deletions

View File

@@ -60,7 +60,7 @@ public class UserController {
}
@GetMapping(value = API_URL_USER_GET_BOOKMARKS, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<List<QRCodeEntity>> getUserBookmarks(@RequestHeader(name = HEADER_USER_ID) String userId) {
public ResponseEntity<List<ScannedHistoriesDto>> getUserBookmarks(@RequestHeader(name = HEADER_USER_ID) String userId) {
logger.info("Invoking GET User bookmarks endpoint");
return ResponseEntity.ok(userService.getUserBookmarks(userId));
}