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