Skip to content

Commit

Permalink
Merge pull request #3616 from OriginTrail/v8/release/devnet
Browse files Browse the repository at this point in the history
Sigma 19 Prerelease Testnet
Mihajlo-Pavlovic authored Dec 25, 2024

Verified

This commit was signed with the committer’s verified signature.
jbruechert Jonah Brüchert
2 parents 95163f0 + 62c941a commit f7714f5
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "8.0.0-sigma.18",
"version": "8.0.0-sigma.19",
"description": "OTNode V8",
"main": "index.js",
"type": "module",
6 changes: 4 additions & 2 deletions src/controllers/http-api/v0/get-http-api-controller-v0.js
Original file line number Diff line number Diff line change
@@ -54,10 +54,12 @@ class GetController extends BaseController {
let knowledgeCollectionId;
let knowledgeAssetId;
try {
const { id, paranetUAL, includeMetadata, contentType } = req.body;
const { paranetUAL, includeMetadata, contentType } = req.body;
let { id } = req.body;
({ blockchain, contract, knowledgeCollectionId, knowledgeAssetId } =
this.ualService.resolveUAL(id));

contract = contract.toLowerCase();
id = this.ualService.deriveUAL(blockchain, contract, knowledgeAssetId);
this.logger.info(`Get for ${id} with operation id ${operationId} initiated.`);

// Get assertionId - datasetRoot
5 changes: 4 additions & 1 deletion src/controllers/http-api/v1/get-http-api-controller-v1.js
Original file line number Diff line number Diff line change
@@ -54,9 +54,12 @@ class GetController extends BaseController {
let knowledgeCollectionId;
let knowledgeAssetId;
try {
const { id, paranetUAL, includeMetadata, contentType } = req.body;
const { paranetUAL, includeMetadata, contentType } = req.body;
let { id } = req.body;
({ blockchain, contract, knowledgeCollectionId, knowledgeAssetId } =
this.ualService.resolveUAL(id));
contract = contract.toLowerCase();
id = this.ualService.deriveUAL(blockchain, contract, knowledgeAssetId);

this.logger.info(`Get for ${id} with operation id ${operationId} initiated.`);

0 comments on commit f7714f5

Please sign in to comment.