Skip to content

Commit

Permalink
Change missed updated/created parameters
Browse files Browse the repository at this point in the history
Missed in previous commit to adapt to the change in the bulk annotation
API from updated to created filtering.
  • Loading branch information
marcospri committed Oct 20, 2023
1 parent cfa2062 commit 1a26d56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lms/views/admin/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def post(self):
(),
{
"h_userids": h_userids,
"updated_after": since.isoformat(),
"updated_before": until.isoformat(),
"created_after": since.isoformat(),
"created_before": until.isoformat(),
"override_to_email": to_email,
"deduplicate": False,
},
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/lms/views/admin/email_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def test_post(self, views, send_instructor_email_digests):
(),
{
"h_userids": ["userid_1", "userid_2"],
"updated_after": "2023-02-27T00:00:00",
"updated_before": "2023-02-28T00:00:00",
"created_after": "2023-02-27T00:00:00",
"created_before": "2023-02-28T00:00:00",
"override_to_email": "[email protected]",
"deduplicate": False,
},
Expand Down

0 comments on commit 1a26d56

Please sign in to comment.