map: restore CSRF check

pull/396/head
Varun Patil 2023-02-09 08:29:53 -08:00
parent 36f32da13f
commit efea8369bd
2 changed files with 1 additions and 3 deletions

View File

@ -30,8 +30,6 @@ class MapController extends ApiBase
{
/**
* @NoAdminRequired
*
* @NoCSRFRequired
*/
public function clusters(): JSONResponse
{

View File

@ -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";