lib/osso/graphql/mutations/create_enterprise_account.rb in osso-0.0.11 vs lib/osso/graphql/mutations/create_enterprise_account.rb in osso-0.1.0
- old
+ new
@@ -15,10 +15,10 @@
def resolve(**args)
enterprise_account = Osso::Models::EnterpriseAccount.new(args)
if enterprise_account.save
Osso::Analytics.capture(email: context[:email], event: self.class.name.demodulize, properties: args)
- return response_data(enterprise_account: enterprise_account)
+ return response_data(enterprise_account: enterprise_account)
end
response_error(enterprise_account.errors)
end
end