From 02eb9e2a2e52d67cb297cf06d6104f6d8fd35b37 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 18 Apr 2024 14:05:42 +0100 Subject: [PATCH] pls work --- .../java/xyz/mcutils/backend/repository/MetricsRepository.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/xyz/mcutils/backend/repository/MetricsRepository.java b/src/main/java/xyz/mcutils/backend/repository/MetricsRepository.java index 1335f3b..1dac436 100644 --- a/src/main/java/xyz/mcutils/backend/repository/MetricsRepository.java +++ b/src/main/java/xyz/mcutils/backend/repository/MetricsRepository.java @@ -1,6 +1,7 @@ package xyz.mcutils.backend.repository; import org.springframework.data.mongodb.repository.MongoRepository; +import org.springframework.data.mongodb.repository.config.EnableMongoRepositories; import xyz.mcutils.backend.service.metric.Metric; /** @@ -8,4 +9,5 @@ import xyz.mcutils.backend.service.metric.Metric; * * @author Braydon */ +@EnableMongoRepositories public interface MetricsRepository extends MongoRepository, String> { } \ No newline at end of file