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

JF2 API: rsvp property overwritten by URL #80

Closed
sknebel opened this issue Jul 2, 2017 · 0 comments
Closed

JF2 API: rsvp property overwritten by URL #80

sknebel opened this issue Jul 2, 2017 · 0 comments

Comments

@sknebel
Copy link

sknebel commented Jul 2, 2017

When generating the JF2 version of a feed, at /helpers/formats.rb#L136 code like

when "rsvp-yes"
    relation = :"rsvp"
    jf2[:rsvp] = "yes"

stores the type of rsvp in a property, but at the end of the function

 jf2[relation] = link.page.href

overrides it with the URL – a consumer thus can see that it is a RSVP post, but not what kind of RSVP.

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