Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Jacob Parker <f862f167b85d41b225785c70d70808bc7337c1fe@solidangle.ca>
Brightspace/brightspace-integration,Brightspace/brightspace-integration