From 93c317f3adadb0f967270126856745df21b119e6 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 23 Apr 2021 20:19:47 +0200 Subject: [PATCH] don't export developer accounts to salesforce. #731 --- app/models/provider.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/provider.rb b/app/models/provider.rb index 1ca4fe06f..569d78d30 100644 --- a/app/models/provider.rb +++ b/app/models/provider.rb @@ -858,7 +858,7 @@ def to_jsonapi end def self.export(query: nil) - query = query.present? ? query + " !role_name:ROLE_ADMIN" : "!role_name:ROLE_ADMIN" + query = query.present? ? query + " !role_name:ROLE_ADMIN !role_name:ROLE_DEV" : "!role_name:ROLE_ADMIN !role_name:ROLE_DEV" # Loop through all providers i = 0