From 76a27dd2baa6b9acb8ebd7aee17fbbf33a6ba8b3 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Wed, 18 Dec 2024 14:51:41 +0100 Subject: [PATCH] Disable update --- src/constants/constants.js | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/constants/constants.js b/src/constants/constants.js index 77aa55edc..9820afeff 100644 --- a/src/constants/constants.js +++ b/src/constants/constants.js @@ -132,11 +132,6 @@ export const BASE_NAMED_GRAPHS = { METADATA: 'metadata:graph', }; -export const PENDING_STORAGE_REPOSITORIES = { - PUBLIC: 'public', - PRIVATE: 'private', -}; - export const REQUIRED_MODULES = [ 'repository', 'httpClient', @@ -775,7 +770,7 @@ export const OPERATION_ID_STATUS = { export const OPERATIONS = { PUBLISH: 'publish', FINALITY: 'finality', - UPDATE: 'update', + // UPDATE: 'update', GET: 'get', ASK: 'ask', }; @@ -919,11 +914,11 @@ export const HTTP_API_ROUTES = { path: '/publish', options: { rateLimit: true }, }, - update: { - method: 'post', - path: '/update', - options: { rateLimit: true }, - }, + // update: { + // method: 'post', + // path: '/update', + // options: { rateLimit: true }, + // }, query: { method: 'post', path: '/query', @@ -1005,7 +1000,7 @@ export const HTTP_API_ROUTES = { */ export const NETWORK_PROTOCOLS = { STORE: ['/store/1.0.0'], - UPDATE: ['/update/1.0.0'], + // UPDATE: ['/update/1.0.0'], GET: ['/get/1.0.0'], ASK: ['/ask/1.0.0'], FINALITY: ['/finality/1.0.0'],