preparing to move items to new location

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-20 09:26:47 +02:00
parent d179a33b41
commit b1517edc31
4 changed files with 45 additions and 12 deletions

View File

@@ -136,7 +136,7 @@ public class StockModule extends BaseHandler implements StockService {
var result = new ArrayList<Object>();
var userLocations = stockDb.listUserLocations(user);
result.add(Map.of(
USER, user.id(),
OWNER, Map.of(USER, user.id()),
NAME,user.name(),
LOCATIONS,userLocations.stream().map(DbLocation::toMap).toList()));