Skip to content
Snippets Groups Projects
Commit e2e926d3 authored by Anders Austlid's avatar Anders Austlid
Browse files

Changed ShoppingListRequest so shopping list ID is not needed when posting

parent 6af75d29
No related branches found
No related tags found
No related merge requests found
...@@ -11,12 +11,7 @@ import lombok.Data; ...@@ -11,12 +11,7 @@ import lombok.Data;
@Builder @Builder
@AllArgsConstructor @AllArgsConstructor
public class ShoppingListRequest { public class ShoppingListRequest {
/**
* The unique identifier of the shopping list.
*/
private long id;
/** /**
* The unique identifier of the group for which the shopping list is requested. * The unique identifier of the group for which the shopping list is requested.
*/ */
......
...@@ -24,7 +24,7 @@ public class ShoppingListService { ...@@ -24,7 +24,7 @@ public class ShoppingListService {
/** /**
* Create and save a shopping list to the database * Create and save a shopping list to the database
* @param shoppingList the shopping list to save * @param shoppingListRequest the shopping list to save
* @return the saved shopping list * @return the saved shopping list
*/ */
public ShoppingList createShoppingList(ShoppingListRequest shoppingListRequest) { public ShoppingList createShoppingList(ShoppingListRequest shoppingListRequest) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment