Skip to content

Correctly parse the provider into a tenant ID

Andrej Shadura requested to merge fix-provider-url-parser into main

The existing code had two issues:

  • it parsed provider.Host instead of provider.Path
  • provider.Path always starts with a slash, so Cut() wouldn’t provide the first path component, but an empty string instead
Edited by Andrej Shadura

Merge request reports