This commit is contained in:
Lee 2024-04-18 14:05:42 +01:00
parent aa87d2f374
commit 02eb9e2a2e

View File

@ -1,6 +1,7 @@
package xyz.mcutils.backend.repository; package xyz.mcutils.backend.repository;
import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
import xyz.mcutils.backend.service.metric.Metric; import xyz.mcutils.backend.service.metric.Metric;
/** /**
@ -8,4 +9,5 @@ import xyz.mcutils.backend.service.metric.Metric;
* *
* @author Braydon * @author Braydon
*/ */
@EnableMongoRepositories
public interface MetricsRepository extends MongoRepository<Metric<?>, String> { } public interface MetricsRepository extends MongoRepository<Metric<?>, String> { }