Skip to content

Commit

Permalink
fix: TGE subscribtion query
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Dec 2, 2019
1 parent aeee188 commit 17863a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/daf-trust-graph/src/service-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export class TrustGraphServiceController implements ServiceController {
var link = null

if (wsUri) {
debug('Using SubscriptionClient')

const wsClient = new SubscriptionClient(
wsUri,
{
Expand Down Expand Up @@ -148,7 +146,7 @@ export class TrustGraphServiceController implements ServiceController {
this.client
.subscribe({
query: queries.edgeAdded,
variables: { toDID: options.issuer.did },
variables: { toDID: [options.issuer.did] },
})
.subscribe({
async next(result) {
Expand Down

0 comments on commit 17863a2

Please sign in to comment.