diff --git a/adm/templates/adm/adm_import_flow.html b/adm/templates/adm/adm_import_flow.html
index 6859577..04c3b11 100644
--- a/adm/templates/adm/adm_import_flow.html
+++ b/adm/templates/adm/adm_import_flow.html
@@ -263,6 +263,8 @@
}
else
{
+ ncfiledata[0] = ['standardid', id];
+ console.log(ncfiledata);
console.log("NC FILES LOADED, STARTING REBUILDING STANDARDS");
$.ajax({
url: "{% url 'api:apiswitchstandards' %}",
diff --git a/api/views.py b/api/views.py
index ca34ca3..6da4b89 100644
--- a/api/views.py
+++ b/api/views.py
@@ -482,7 +482,7 @@ def NCGetFilesForStandardSwitch(request):
standard = Standards.objects.get(pk=request.GET.get('standardid'))
# Dateien aus NC laden
- filesearchdata = '/files/vhdadjangoapi_8fjz47epc6' + '/Agenturdaten_' + str(standard.agency.pk) + '/infinity1'
+ filesearchdata = '/files/vhdarootadmin_2cdme7ckw' + '/Agenturdaten_' + str(standard.agency.pk) + '/infinity1'
#filesearchdata = 'infinity'
r = requests.request("SEARCH", settings.NEXTCLOUD_URL + "remote.php/dav/", data=filesearchdata, headers={'Content-Type' : 'text/xml', 'Authorization' : "Bearer " + request.user.profile.nc_sid})