Skip to content

tlsSubscriptions.listTlsSubs returns a list of empty objects with no data. #25

Open
@ieb

Description

@ieb

Version
v6.0.0

What happened

      const tlsSubscriptions = new Fastly.TlsSubscriptionsApi();
      
      const list = await tlsSubscriptions.listTlsSubs({
				            include: 'tls_authorizations',
				            page_number: 1,
				            page_size: 20,
				            sort: 'created_at',
				          });
      console.log(list.data);

Produces

        [
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {},
          TlsSubscriptionResponse {}
        ]

All the elements returned are empty and have no data.
Which makes it a bit hard to inspect a subscription.

I would have expected them to show data.
API Key has engineer global access to the account with TLS permissions granted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions