Skip to content

Commit

Permalink
Unscape hardcoded requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
asllop committed Dec 14, 2023
1 parent ca67370 commit 55bf5d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/newrelic_logging/salesforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ class SalesforceApiException(Exception):


SALESFORCE_CREATED_DATE_QUERY = \
"SELECT+Id,+EventType,+CreatedDate,+LogDate,+Interval,+LogFile,+Sequence+From+EventLogFile+Where+CreatedDate>={" \
"from_timestamp}+AND+CreatedDate<{to_timestamp}+AND+Interval='{log_interval_type}' "
"SELECT Id,EventType,CreatedDate,LogDate,Interval,LogFile,Sequence From EventLogFile Where CreatedDate>={" \
"from_timestamp} AND CreatedDate<{to_timestamp} AND Interval='{log_interval_type}'"
SALESFORCE_LOG_DATE_QUERY = \
"SELECT+Id,+EventType,+CreatedDate,+LogDate,+Interval,+LogFile,+Sequence+From+EventLogFile+Where+LogDate>={" \
"from_timestamp}+AND+LogDate<{to_timestamp}+AND+Interval='{log_interval_type}' "
"SELECT Id,EventType,CreatedDate,LogDate,Interval,LogFile,Sequence From EventLogFile Where LogDate>={" \
"from_timestamp} AND LogDate<{to_timestamp} AND Interval='{log_interval_type}'"

CSV_SLICE_SIZE = 1000

Expand Down

0 comments on commit 55bf5d7

Please sign in to comment.