Skip to content

Commit

Permalink
don't export developer accounts to salesforce. #731
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 23, 2021
1 parent 4ebcc62 commit 93c317f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93c317f

Please sign in to comment.