1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-26 00:29:47 +02:00

Organization store test

This commit is contained in:
Samuel Reeve 2017-09-13 12:53:56 +01:00
parent 2386dcbd83
commit eae1a9a429
2 changed files with 143 additions and 1 deletions

View file

@ -77,7 +77,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))