1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-31 19:19:43 +02:00

Merge branch 'master' into granular-permissions

This commit is contained in:
Harvey Kandola 2017-10-08 21:07:45 -04:00
commit e44837c8db
2 changed files with 143 additions and 1 deletions

View file

@ -68,7 +68,7 @@ func (s Scope) GetOrganization(ctx domain.RequestContext, id string) (org org.Or
}
// GetOrganizationByDomain returns the organization matching a given URL subdomain.
// No context is required because user might no be authenticated yet.
// No context is required because user might not be authenticated yet.
func (s Scope) GetOrganizationByDomain(subdomain string) (o org.Organization, err error) {
err = nil
subdomain = strings.TrimSpace(strings.ToLower(subdomain))