Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix decoding #503

Merged
merged 1 commit into from Mar 12, 2024
Merged

Fix decoding #503

merged 1 commit into from Mar 12, 2024

Conversation

fgsch
Copy link
Member

@fgsch fgsch commented Mar 12, 2024

Populate the structure correctly. Noticed by @cee-dub using the CLI.

Before:

fastly config-store list-services --store-id [REDACTED] --json
[
  {
    "ActiveVersion": null,
    "Comment": "",
    "CreatedAt": null,
    "CustomerID": null,
    "DeletedAt": null,
    "ServiceID": null,
    "Name": "[SOME NAME]",
    "Type": "wasm",
    "UpdatedAt": null,
    "Versions": null
  }
]

After:

[
  {
    "ActiveVersion": null,
    "Comment": "",
    "CreatedAt": "2023-02-27T15:57:35Z",
    "CustomerID": "[SOME CUSTOMER ID]",
    "DeletedAt": null,
    "ServiceID": "[SOME SERVICE ID]",
    "Name": "[SOME NAME]",
    "Type": "wasm",
    "UpdatedAt": "2023-02-27T15:57:35Z",
    "Versions": null
  }
]

@fgsch fgsch requested a review from Integralist March 12, 2024 11:24
Populate the structure correctly.
@fgsch fgsch force-pushed the fgsch/fix-service-listing branch from 7d24aff to 094c2ea Compare March 12, 2024 11:28
@Integralist Integralist merged commit 8d0cd32 into main Mar 12, 2024
4 checks passed
@Integralist Integralist deleted the fgsch/fix-service-listing branch March 12, 2024 11:42
@cee-dub
Copy link
Contributor

cee-dub commented Mar 12, 2024

Thanks! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants