chore: remove unused tenant variable
This commit is contained in:
@@ -54,7 +54,7 @@ func (h *TenantHandler) CheckExists(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
tenant, err := h.tenantService.GetBySubdomain(subdomain)
|
_, err := h.tenantService.GetBySubdomain(subdomain)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == service.ErrTenantNotFound {
|
if err == service.ErrTenantNotFound {
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
|
|||||||
Reference in New Issue
Block a user