Skip to content

Commit

Permalink
Merge branch 'cs-16219-fix-date-published' into 'master'
Browse files Browse the repository at this point in the history
[CS-16219]Fix documents datePublished on PUT

See merge request cdb/openprocurement.audit.api!53
  • Loading branch information
Serhij Andreev committed Apr 11, 2024
2 parents d28d6ea + 8c8b93b commit 382a175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openprocurement/audit/api/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
JOURNAL_PREFIX = os.environ.get('JOURNAL_PREFIX', 'JOURNAL_')
TZ = timezone(os.environ['TZ'] if 'TZ' in os.environ else 'Europe/Kiev')
SANDBOX_MODE = os.environ.get('SANDBOX_MODE', False)
DOCUMENT_BLACKLISTED_FIELDS = ('title', 'format', 'url', 'dateModified', 'hash')
DOCUMENT_WHITELISTED_FIELDS = ('id', 'datePublished', 'author', '__parent__')
DOCUMENT_BLACKLISTED_FIELDS = ('title', 'format', 'url', 'dateModified', 'datePublished', 'hash')
DOCUMENT_WHITELISTED_FIELDS = ('id', 'author', '__parent__')
WORKING_DAYS = {}
HOLIDAYS = standards.load("calendars/workdays_off.json")
for date_str in HOLIDAYS:
Expand Down

0 comments on commit 382a175

Please sign in to comment.