Skip to content

Commit

Permalink
cypress error resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Snafkin547 committed Jun 7, 2024
1 parent 19e1f84 commit 12ea683
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demos/array-mpc-as-a-service/compute-party.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* computation_id is optional, by default it will be 'test'.
*/
const path = require('path');
jiff_restAPI = require('../../lib/ext/jiff-client-restful.js');

Check failure on line 12 in demos/array-mpc-as-a-service/compute-party.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

demos/array-mpc-as-a-service/compute-party.js#L12

'jiff_restAPI' is not defined.
console.log('Command line arguments: [/path/to/configuration/file.json] [computation_id]');

// Read config
Expand All @@ -35,6 +36,7 @@ const jiffClient = new JIFFClient('http://localhost:8080', computation_id, {
party_count: config.party_count,
initialization: {role: 'compute'} // indicate to the server that this is a compute party
});
jiffClient.apply_extension(jiff_restAPI);

Check failure on line 39 in demos/array-mpc-as-a-service/compute-party.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

demos/array-mpc-as-a-service/compute-party.js#L39

'jiff_restAPI' is not defined.

// the computation code
const compute = function () {
Expand Down

0 comments on commit 12ea683

Please sign in to comment.