Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add groseries #6

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Add groseries #6

merged 8 commits into from
Aug 22, 2024

Conversation

Olgasyla
Copy link
Contributor

No description provided.

# Conflicts:
#	backend/src/main/java/org/example/backend/ProductController.java
#	backend/src/test/java/org/example/backend/ProductServiceTest.java
… add-groseries

# Conflicts:
#	backend/src/main/java/org/example/backend/ProductController.java
#	backend/src/test/java/org/example/backend/ProductControllerTest.java
#	backend/src/test/java/org/example/backend/ProductServiceTest.java
@@ -19,6 +15,11 @@ public List<Product> getAllGroceries() {
return productService.findAllGroceries();
}

@PostMapping
public Product saveProduct(@RequestBody NewProduct newProduct) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe rename saveProduct - method name to addProduct

saveProdukt rename to addProdukt
Copy link

sonarcloud bot commented Aug 22, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

Copy link

sonarcloud bot commented Aug 22, 2024

@vokarl vokarl merged commit cd9cc53 into main Aug 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants