Commit fa24aad8 authored by Matija Obreza's avatar Matija Obreza

Fix: API v1 endpoint name collision

- Vocabulary controller for WIEWS collides with InsituteController
parent a085ff49
......@@ -48,7 +48,7 @@ import org.springframework.web.bind.annotation.RestController;
public class LanguagesController extends ApiBaseController {
/** The Constant API_BASE. */
public static final String CONTROLLER_URL = ApiBaseController.APIv1_BASE + "/lang";
public static final String CONTROLLER_URL = VocabularyController.CONTROLLER_URL + "/lang";
/** The Constant ISO639_3. */
public static final UUID ISO639_3 = ISO639VocabularyUpdater.ISO639_3;
......
......@@ -51,7 +51,7 @@ import org.springframework.web.bind.annotation.RestController;
public class WiewsController extends ApiBaseController {
/** The Constant API_BASE. */
public static final String CONTROLLER_URL = ApiBaseController.APIv1_BASE + "/wiews";
public static final String CONTROLLER_URL = VocabularyController.CONTROLLER_URL + "/wiews";
/** The Constant FAO_WIEWS_UUID. */
public static final UUID FAO_WIEWS_UUID = WiewsVocabularyUpdater.FAO_WIEWS_UUID;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment