Skip to content

Commit bb4f441

Browse files
committed
fix embargo sanctions typo
1 parent 55e155d commit bb4f441

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osf/models/sanctions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ class Embargo(SanctionCallbackMixin, EmailApprovableSanction):
474474
DISPLAY_NAME = 'Embargo'
475475
SHORT_NAME = 'embargo'
476476

477+
AUTHORIZER_NOTIFY_EMAIL_TYPE = 'node_embargo_admin'
478+
NON_AUTHORIZER_NOTIFY_EMAIL_TYPE = 'node_embargo_non_admin'
479+
477480
VIEW_URL_TEMPLATE = VIEW_PROJECT_URL_TEMPLATE
478481
APPROVE_URL_TEMPLATE = osf_settings.DOMAIN + 'token_action/{node_id}/?token={token}'
479482
REJECT_URL_TEMPLATE = osf_settings.DOMAIN + 'token_action/{node_id}/?token={token}'

0 commit comments

Comments
 (0)