diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-18 11:37:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-18 11:37:29 +0100 |
commit | e8bffe9690307f2686ed5573cae2b86ee5f57789 (patch) | |
tree | e6268124e5e9c22eb465d94ad638ed8443bc9743 /client/src/app/shared/shared-user-subscription | |
parent | c1f7a737cfe174ff1648f269a62540826d0e8089 (diff) | |
download | PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.tar.gz PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.tar.zst PeerTube-e8bffe9690307f2686ed5573cae2b86ee5f57789.zip |
Remove unnecessary function
Diffstat (limited to 'client/src/app/shared/shared-user-subscription')
-rw-r--r-- | client/src/app/shared/shared-user-subscription/user-subscription.service.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-user-subscription/user-subscription.service.ts b/client/src/app/shared/shared-user-subscription/user-subscription.service.ts index ede65ff39..33a2d04fd 100644 --- a/client/src/app/shared/shared-user-subscription/user-subscription.service.ts +++ b/client/src/app/shared/shared-user-subscription/user-subscription.service.ts | |||
@@ -108,7 +108,6 @@ export class UserSubscriptionService { | |||
108 | 108 | ||
109 | return this.authHttp.delete(url) | 109 | return this.authHttp.delete(url) |
110 | .pipe( | 110 | .pipe( |
111 | map(this.restExtractor.extractDataBool), | ||
112 | tap(() => { | 111 | tap(() => { |
113 | this.myAccountSubscriptionCache[nameWithHost] = false | 112 | this.myAccountSubscriptionCache[nameWithHost] = false |
114 | 113 | ||
@@ -124,7 +123,6 @@ export class UserSubscriptionService { | |||
124 | const body = { uri: nameWithHost } | 123 | const body = { uri: nameWithHost } |
125 | return this.authHttp.post(url, body) | 124 | return this.authHttp.post(url, body) |
126 | .pipe( | 125 | .pipe( |
127 | map(this.restExtractor.extractDataBool), | ||
128 | tap(() => { | 126 | tap(() => { |
129 | this.myAccountSubscriptionCache[nameWithHost] = true | 127 | this.myAccountSubscriptionCache[nameWithHost] = true |
130 | 128 | ||