Changed header to query params at metadata

pull/1068/head
teslov 2021-10-07 21:03:48 +03:00
rodzic de35720e40
commit f5903f74b5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -123,7 +123,7 @@ class Metadata(TaskNestedView):
formula = self.request.query_params.get('formula')
bands = self.request.query_params.get('bands')
defined_range = self.request.query_params.get('range')
boundaries_feature = self.request.headers.get('boundaries')
boundaries_feature = self.request.query_params.get('boundaries')
if formula == '': formula = None
if bands == '': bands = None