Skip to content

Commit a095724

Browse files
committed
Actually need to use private_notes here
1 parent c5a42a5 commit a095724

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/olympia/reviewers/forms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ def create_option(
252252
obj = label
253253
forwarded_notes = [
254254
*obj.forwarded_from_jobs.all().values_list(
255-
'decisions__reasoning', flat=True
255+
'decisions__private_notes', flat=True
256256
),
257257
*obj.queue_moves.values_list('notes', flat=True),
258258
*obj.decisions.filter(action=DECISION_ACTIONS.AMO_REQUEUE).values_list(
259-
'reasoning', flat=True
259+
'private_notes', flat=True
260260
),
261261
]
262262
is_appeal = obj.is_appeal

src/olympia/reviewers/tests/test_forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ def test_cinder_jobs_to_resolve_choices(self):
12661266
forwarded_to_job=cinder_job_forwarded,
12671267
decision=ContentDecision.objects.create(
12681268
action=DECISION_ACTIONS.AMO_ESCALATE_ADDON,
1269-
reasoning='Why o why',
1269+
private_notes='Why o why',
12701270
addon=self.addon,
12711271
),
12721272
)

0 commit comments

Comments
 (0)