diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts index 09164a5d3..286ecac02 100644 --- a/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts +++ b/client/src/app/shared/shared-user-subscription/remote-subscribe.component.ts | |||
@@ -39,8 +39,6 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit { | |||
39 | fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`) | 39 | fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`) |
40 | .then(response => response.json()) | 40 | .then(response => response.json()) |
41 | .then(data => new Promise((resolve, reject) => { | 41 | .then(data => new Promise((resolve, reject) => { |
42 | console.log(data) | ||
43 | |||
44 | if (data && Array.isArray(data.links)) { | 42 | if (data && Array.isArray(data.links)) { |
45 | const link: { template: string } = data.links.find((link: any) => { | 43 | const link: { template: string } = data.links.find((link: any) => { |
46 | return link && typeof link.template === 'string' && link.rel === 'http://ostatus.org/schema/1.0/subscribe' | 44 | return link && typeof link.template === 'string' && link.rel === 'http://ostatus.org/schema/1.0/subscribe' |