diff --git a/lib/Controller/MapController.php b/lib/Controller/MapController.php index d7e4f145..4853430f 100644 --- a/lib/Controller/MapController.php +++ b/lib/Controller/MapController.php @@ -30,8 +30,6 @@ class MapController extends ApiBase { /** * @NoAdminRequired - * - * @NoCSRFRequired */ public function clusters(): JSONResponse { diff --git a/src/components/top-matter/MapSplitMatter.vue b/src/components/top-matter/MapSplitMatter.vue index 3f0c7715..feb4ab43 100644 --- a/src/components/top-matter/MapSplitMatter.vue +++ b/src/components/top-matter/MapSplitMatter.vue @@ -34,7 +34,7 @@ import { LMap, LTileLayer, LMarker, LPopup, LIcon } from "vue2-leaflet"; import { Icon } from "leaflet"; import { API } from "../../services/API"; -import axios from "axios"; +import axios from "@nextcloud/axios"; import "leaflet/dist/leaflet.css";