Originality score pass back works again

Fixes PLAT-1771

Test Plan:
Create a TII assignment, submit it as a student
see that the originality score is visible in canvas itself

Change-Id: Ifab2590ba2333d7a5b3a991cbf5ca7e0b96f026f
Reviewed-on: https://gerrit.instructure.com/88583
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
This commit is contained in:
Matthew Wheeler 2016-08-23 16:11:18 -06:00
parent 19bf7c867f
commit 514487d6f7
1 changed files with 3 additions and 3 deletions

View File

@ -71,10 +71,10 @@ module Turnitin
private
def stash
old_turnit_client = @turnitin_client
@turnitin_client = nil
old_turnit_client = @_turnitin_client
@_turnitin_client = nil
yield
@turnitin_client = old_turnit_client
@_turnitin_client = old_turnit_client
end
def attempt_number