Skip to content

Commit

Permalink
Merge pull request #19 from Narodni-repozitar/test_mode_config
Browse files Browse the repository at this point in the history
test_mode
  • Loading branch information
Alzpeta authored Nov 22, 2021
2 parents 4c59ff9 + 925adcd commit a6aee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nr_datasets/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def handle_publish(sender, **kwargs):
sender['accessRights'] = access_rights_factory(
open_access_slug) if date_available <= today else access_rights_factory(embargoed_slug)

doi_approved(sender, PUBLISHED_DATASET_PID_TYPE, True)
doi_approved(sender, PUBLISHED_DATASET_PID_TYPE)


def handle_unpublish(sender, **kwargs):
Expand Down

0 comments on commit a6aee09

Please sign in to comment.