Skip to content

Commit

Permalink
Merge pull request #3528 from OriginTrail/v8/fix/disable/update
Browse files Browse the repository at this point in the history
Disable update
  • Loading branch information
Mihajlo-Pavlovic authored Dec 18, 2024
2 parents b55bd7f + 76a27dd commit 4cf9c4f
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions src/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ export const BASE_NAMED_GRAPHS = {
METADATA: 'metadata:graph',
};

export const PENDING_STORAGE_REPOSITORIES = {
PUBLIC: 'public',
PRIVATE: 'private',
};

export const REQUIRED_MODULES = [
'repository',
'httpClient',
Expand Down Expand Up @@ -791,7 +786,7 @@ export const OPERATION_ID_STATUS = {
export const OPERATIONS = {
PUBLISH: 'publish',
FINALITY: 'finality',
UPDATE: 'update',
// UPDATE: 'update',
GET: 'get',
ASK: 'ask',
};
Expand Down Expand Up @@ -935,11 +930,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',
Expand Down Expand Up @@ -1021,7 +1016,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'],
Expand Down

0 comments on commit 4cf9c4f

Please sign in to comment.