Skip to content

Commit

Permalink
fixup(tenant): forgotten tenant transformation to URI
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Jan 18, 2024
1 parent 3561676 commit 9479a67
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.egm.stellio.shared.web
import com.egm.stellio.shared.config.ApplicationProperties
import com.egm.stellio.shared.model.NonexistentTenantResponse
import com.egm.stellio.shared.util.JsonUtils.serializeObject
import com.egm.stellio.shared.util.toUri
import jakarta.annotation.PostConstruct
import org.slf4j.LoggerFactory
import org.springframework.core.Ordered
Expand Down Expand Up @@ -55,6 +54,6 @@ class TenantWebFilter(

return chain
.filter(exchange)
.contextWrite { context -> context.put(NGSILD_TENANT_HEADER, tenantName.toUri()) }
.contextWrite { context -> context.put(NGSILD_TENANT_HEADER, tenantName) }
}
}

0 comments on commit 9479a67

Please sign in to comment.