File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -328,8 +328,6 @@ export interface PersistentStorageGetBucketsCommand extends Command {
328328 consumerAddress : string
329329 signature : string
330330 nonce : string
331- chainId : number
332- /** Ethereum address; only buckets with this stored owner are returned (then filtered by ACL). */
333331 owner : string
334332}
335333
@@ -360,7 +358,6 @@ export interface PersistentStorageDeleteFileCommand extends Command {
360358 consumerAddress : string
361359 signature : string
362360 nonce : string
363- chainId : number
364361 bucketId : string
365362 fileName : string
366363}
Original file line number Diff line number Diff line change @@ -119,13 +119,9 @@ export class PersistentStorageGetBucketsHandler extends CommandHandler {
119119 'consumerAddress' ,
120120 'signature' ,
121121 'nonce' ,
122- 'chainId' ,
123122 'owner'
124123 ] )
125124 if ( ! base . valid ) return base
126- if ( typeof command . chainId !== 'number' ) {
127- return buildInvalidRequestMessage ( 'Invalid parameter: "chainId" must be a number' )
128- }
129125 if ( ! command . owner || typeof command . owner !== 'string' ) {
130126 return buildInvalidRequestMessage (
131127 'Invalid parameter: "owner" must be a non-empty string'
@@ -346,7 +342,6 @@ export class PersistentStorageDeleteFileHandler extends CommandHandler {
346342 'consumerAddress' ,
347343 'signature' ,
348344 'nonce' ,
349- 'chainId' ,
350345 'bucketId' ,
351346 'fileName'
352347 ] )
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ persistentStorageRoutes.get(
5454 consumerAddress : req . query . consumerAddress as string ,
5555 signature : req . query . signature as string ,
5656 nonce : req . query . nonce as string ,
57- chainId : parseInt ( req . query . chainId as string ) || null ,
5857 owner : req . query . owner as string ,
5958 authorization : req . headers ?. authorization ,
6059 caller : req . caller
@@ -173,7 +172,6 @@ persistentStorageRoutes.delete(
173172 consumerAddress : req . query . consumerAddress as string ,
174173 signature : req . query . signature as string ,
175174 nonce : req . query . nonce as string ,
176- chainId : parseInt ( req . query . chainId as string ) || null ,
177175 bucketId : req . params . bucketId ,
178176 fileName : req . params . fileName ,
179177 authorization : req . headers ?. authorization ,
You can’t perform that action at this time.
0 commit comments