Skip to content
Permalink
Browse files
[geonode] Avoid needless redirects when parsing layers
  • Loading branch information
nirvn committed Jan 12, 2022
1 parent 6d6b062 commit af24fb3cec9cd16090474464a8be0fd804928839
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geocms/geonode/qgsgeonoderequest.cpp
@@ -293,7 +293,7 @@ QList<QgsGeoNodeRequest::ServiceLayerDetail> QgsGeoNodeRequest::parseLayers( con
{
if ( wmsURLFormat.isEmpty() && wfsURLFormat.isEmpty() && wcsURLFormat.isEmpty() && xyzURLFormat.isEmpty() )
{
bool success = requestBlocking( QStringLiteral( "/api/layers/" ) + layerStruct.id );
bool success = requestBlocking( QStringLiteral( "/api/layers/%1/" ).arg( layerStruct.id ) );
if ( success )
{
const QJsonDocument resourceUriDocument = QJsonDocument::fromJson( this->lastResponse() );

0 comments on commit af24fb3

Please sign in to comment.