Extract the determination of tenant channel into a helper function. This will simplify handler and middleware methods, which won't have to implement the same logic by themselves. Fix the multi-tenancy unit test to pass the appropriate context when querying compose statuses, because the server that is being use has JWT enabled and expects the tenant to be set in it. |
||
|---|---|---|
| .. | ||
| v2 | ||
| server.go | ||