Allow Copyleaks API users to view the plagiarism report using their downloaded data. Using this report allows users to view the report anytime without being restricted by the Copyleaks expiration policy (that deletes the reports data).
I assume that's from the older version of Copyleaks Python code.
Looking at the live demo, copyleaksService.pushScanResult() should instead accept an object with keys id and result, like so:
Also, there's a bunch of imports needed (see the demo) to get it to work.
To Reproduce
Steps to reproduce the behavior:
Follow readme's instructions with Angular 8 and Copyleaks version 3.1.3.
Try to run ng build on an app using the component code suggested.
Describe the bug The readme says to use code like this:
which results in errors like this:
I assume that's from the older version of Copyleaks Python code. Looking at the live demo,
copyleaksService.pushScanResult()
should instead accept an object with keysid
andresult
, like so:Also, there's a bunch of imports needed (see the demo) to get it to work.
To Reproduce Steps to reproduce the behavior: Follow readme's instructions with Angular 8 and Copyleaks version 3.1.3. Try to run
ng build
on an app using the component code suggested.