Removed addresses, adjusted contact page
This commit is contained in:
@@ -23,7 +23,6 @@ public class StoreController {
|
||||
}
|
||||
|
||||
@GetMapping
|
||||
@PreAuthorize("isAuthenticated()")
|
||||
public ResponseEntity<Page<StoreResponse>> getAllStores(
|
||||
@RequestParam(required = false) String q,
|
||||
Pageable pageable) {
|
||||
@@ -31,7 +30,6 @@ public class StoreController {
|
||||
}
|
||||
|
||||
@GetMapping("/{id}")
|
||||
@PreAuthorize("isAuthenticated()")
|
||||
public ResponseEntity<StoreResponse> getStoreById(@PathVariable Long id) {
|
||||
return ResponseEntity.ok(storeService.getStoreById(id));
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@ public class SecurityConfig {
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/products/**").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/services/**").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/categories/**").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/stores/**").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/dropdowns/pet-species").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/dropdowns/pet-breeds").permitAll()
|
||||
.requestMatchers(HttpMethod.GET, "/api/v1/dropdowns/stores").permitAll()
|
||||
|
||||
Reference in New Issue
Block a user