Skip to content

Commit 5cb56b9

Browse files
author
Umar Asghar
committed
#229 change submission type and published state on canvas (#232)
- Change submission type to "None" - Change published state to "False"
1 parent 5f53cf7 commit 5cb56b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lms/djangoapps/canvas_integration/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def create_assignment_payload(subsection_block):
181181
# string representation.
182182
else subsection_block.fields["due"].astimezone(pytz.UTC).isoformat()
183183
),
184-
"submission_types": ["online_upload"],
185-
"published": True,
184+
"submission_types": ["none"],
185+
"published": False,
186186
}
187187
}
188188

0 commit comments

Comments
 (0)