lib/osso/graphql/resolvers/base_resolver.rb in osso-0.0.3.19 vs lib/osso/graphql/resolvers/base_resolver.rb in osso-0.0.3.20

- old
+ new

@@ -13,9 +13,13 @@ end def enterprise_authorized?(domain) context[:scope] == domain end + + def context_domain + context[:email].split('@')[1] + end end end end end