From bcb28b0945c336c0b5fe9692e7eebf2da7838b81 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 19 Jun 2024 13:47:15 +0200 Subject: [PATCH] fixed bean dependencies for gui --- .../seb/sebserver/webservice/weblayer/api/AdminJWTAccess.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/AdminJWTAccess.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/AdminJWTAccess.java index e816147e..593f8c85 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/AdminJWTAccess.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/AdminJWTAccess.java @@ -14,6 +14,7 @@ import ch.ethz.seb.sebserver.gbl.api.API; import ch.ethz.seb.sebserver.gbl.api.APIMessage; import ch.ethz.seb.sebserver.gbl.api.TooManyRequests; import ch.ethz.seb.sebserver.gbl.model.user.TokenLoginInfo; +import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile; import ch.ethz.seb.sebserver.gbl.util.Result; import ch.ethz.seb.sebserver.webservice.servicelayer.authorization.TeacherAccountService; import io.github.bucket4j.local.LocalBucket; @@ -21,6 +22,7 @@ import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; @RestController +@WebServiceProfile public class AdminJWTAccess { private final TeacherAccountService teacherAccountService;