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

JSON return event.fields structure is an array should be an hash #108

Open
fjenett opened this issue Apr 11, 2014 · 3 comments
Open

JSON return event.fields structure is an array should be an hash #108

fjenett opened this issue Apr 11, 2014 · 3 comments
Labels

Comments

@fjenett
Copy link
Member

fjenett commented Apr 11, 2014

GET /group/:gid/events used to return

{
    ... event attr ...,
    fields : {
        key1 : value1,
        key2 : value2
    }
}

and now after changes for issue #105 returns

{
    ... event attr ...,
    fields : [
        { id : key1, value : value1 },
        { id : key2, value : value2 }
    ]
}
@fjenett fjenett added the bug label Apr 11, 2014
@fjenett
Copy link
Member Author

fjenett commented Apr 12, 2014

Correction: it always used to be as it is now but it should have been different from the start ... :)

@fjenett
Copy link
Member Author

fjenett commented Apr 12, 2014

For ref: #54

@fjenett
Copy link
Member Author

fjenett commented Apr 12, 2014

Ok, added a workaround to motionbank/piecemaker-api-client for now ... but in general it would be better to fix here.

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

No branches or pull requests

1 participant