diff --git a/src/premium/subscription/subscriptionService.ts b/src/premium/subscription/subscriptionService.ts index 5a9653f..c30b331 100644 --- a/src/premium/subscription/subscriptionService.ts +++ b/src/premium/subscription/subscriptionService.ts @@ -52,6 +52,7 @@ const userAgent = 'Visual-Studio-Code-GitLens'; export interface SubscriptionChangeEvent { readonly current: Subscription; readonly previous: Subscription; + readonly etag: number; } export class SubscriptionService implements Disposable { @@ -625,7 +626,7 @@ export class SubscriptionService implements Disposable { this.updateContext(); if (!silent && previous != null) { - this._onDidChange.fire({ current: subscription, previous: previous }); + this._onDidChange.fire({ current: subscription, previous: previous, etag: this._etag }); } }