Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Fix the info endpoint by serializing the Info struct #28

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

kazluu
Copy link
Contributor

@kazluu kazluu commented Oct 20, 2024

Makes sure all structs are properly serialized in order to be returned as json. In addition, adds a test to verify the info endpoint works.

Before this change, the endpoint /v1/info/ wasn't working. It also fixes a couple of errors being thrown by the db on initial setup.

Fixes #29 and #30

Makes sure all structs are properly serialized in order to be returned as json. In addition, adds a test to verify the info endpoint works and fixes a couple of issues when inserting keysets in the database.
@kazluu kazluu force-pushed the bug/fix-info-endpoint branch from 76d1188 to 1d4fdb0 Compare October 20, 2024 17:56
Andres Ruiz added 2 commits October 20, 2024 13:05
Copy link
Collaborator

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@AbdelStark AbdelStark merged commit 92757b8 into keep-starknet-strange:main Oct 21, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: info endpoint is not working
2 participants