Skip to content

Commit ee95e56

Browse files
Fix MongoDB repository base package path
Updated the @EnableMongoRepositories annotation to use the correct base package 'app.smartpot.api' instead of 'smartpot.com.api' to ensure proper repository scanning.
1 parent 32ac488 commit ee95e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/app/smartpot/api/SmartPotApiApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
99

1010
@SpringBootApplication
11-
@EnableMongoRepositories(basePackages = "smartpot.com.api")
11+
@EnableMongoRepositories(basePackages = "app.smartpot.api")
1212
@EnableCaching
1313
@Slf4j
1414
public class SmartPotApiApplication {

0 commit comments

Comments
 (0)