hyperledger-labs / convector

Smart Contract Systems the easy way. Open source development framework.
Other
146 stars 45 forks source link

Pass privateCollection argument in StubStorage.query() #116

Open Tim-W opened 4 years ago

Tim-W commented 4 years ago

https://github.com/hyperledger-labs/convector/blob/b80312aa90348df3c92ce418b305198ded9a0f10/%40worldsibu/convector-storage-stub/src/stub-storage.ts#L20

This should be changed to:

  public async query(query: any, storageOptions?: any): Promise<any[]> {
    return await this.stubHelper.getQueryResultAsList(query, storageOptions);
  }