Closed whongam closed 10 months ago
@GetMapping("/cart") public Cart getCartById(@RequestParam(required = false) Long cartId) throws CartNotFoundException { return cart_service.findById(cartId); }
@GetMapping("/cart")
public Cart getCartById(@RequestParam(required = false) long cartId) throws CartNotFoundException {
return cart_service.findById(cartId);
}
Fixed, Tested, Closing
Summary
Validation seems missing for password during user registration Passwords are suppose to have 8+ length, 1+ Special, 1+ Uppercase, 1+ Lowercase
Severity
Major
Reporter
@NY1105
Assignee
@NY1105 @whongam
Product
e-commerce
Component
Backend API -> User
Version
Release 2
Environment
Visual Studio Code
Thunder Client (Equivalent to Postman)
Description
Prerequisites: 1.0 Make sure the database is empty and initiated 1.1 In CLI, run mvn spring-boot:run to start the server In API caller, request
Current result:
Expected result