Skip to content

Commit

Permalink
Development: Fix profile for Apollon resource (#9320)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer authored Sep 17, 2024
1 parent c299fea commit c9a210e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.tum.cit.aet.artemis.modeling.repository;

import static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_APOLLON;
import static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;

import java.util.List;

Expand All @@ -16,7 +16,7 @@
/**
* Spring Data JPA repository for the ApollonDiagram entity.
*/
@Profile(PROFILE_APOLLON)
@Profile(PROFILE_CORE)
@Repository
public interface ApollonDiagramRepository extends ArtemisJpaRepository<ApollonDiagram, Long> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.tum.cit.aet.artemis.modeling.web;

import static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_APOLLON;
import static de.tum.cit.aet.artemis.core.config.Constants.PROFILE_CORE;

import java.net.URI;
import java.net.URISyntaxException;
Expand Down Expand Up @@ -35,7 +35,7 @@
/**
* REST controller for managing ApollonDiagram.
*/
@Profile(PROFILE_APOLLON)
@Profile(PROFILE_CORE)
@RestController
@RequestMapping("api/")
public class ApollonDiagramResource {
Expand Down

0 comments on commit c9a210e

Please sign in to comment.