Skip to content

Commit 834cb41

Browse files
committed
Set action in upload params
1 parent ab4a4b0 commit 834cb41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

geonode/geoserver/management/commands/importlayers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def prepare_upload_params(self, file, file_path, required, optional):
270270
to upload (`files_to_upload`).
271271
"""
272272
params = {
273+
"action": ExecutionRequestAction.UPLOAD.value,
273274
"dataset_title": file,
274275
"non_interactive": "true",
275276
"overwrite_existing_layer": str(self.overwrite_existing_layers).lower(),

0 commit comments

Comments
 (0)