preparing to move items to new location
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user