You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hello,
When using the client to fetch the PastUsage of a customer using the findAllCustomerPastUsage method, the typing differs from what is returned from the API :
The typing returns a CustomerPastUsage type which has a usage_period: CustomerUsage[] attribute, but the data itself returned has a usage_period: CustomerUsageObject[] attribute instead.
Expected behavior
The API data returned should match the typing : as the documentation of Lago API Ref mentions here, the typing and the API should return a usage_period: CustomerUsage[] object.
Screenshots
The returned data
Support
OS: Linux Ubuntu
Browser: safari
The text was updated successfully, but these errors were encountered:
Describe the bug
Hello,
When using the client to fetch the PastUsage of a customer using the
findAllCustomerPastUsage
method, the typing differs from what is returned from the API :The typing returns a
CustomerPastUsage
type which has ausage_period: CustomerUsage[]
attribute, but the data itself returned has ausage_period: CustomerUsageObject[]
attribute instead.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The API data returned should match the typing : as the documentation of Lago API Ref mentions here, the typing and the API should return a
usage_period: CustomerUsage[]
object.Screenshots
The returned data
Support
The text was updated successfully, but these errors were encountered: