Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Micropub updates: accept empty arrays #3

@barryf

Description

@barryf

https://sentry.io/barryf/transformative/issues/334158093/

Transformative::Micropub::InvalidRequestError: Invalid request: the 'add' property should be a hash.
  lib/transformative/micropub.rb:58:in `verify_hash'
    raise InvalidRequestError.new(
  lib/transformative/micropub.rb:36:in `action'
    verify_hash(properties, 'add')
  lib/transformative/server.rb:180:in `block in <class:Server>'
    post = Micropub.action(params)
...
(45 additional frame(s) were not displayed)

Transformative::Micropub::InvalidRequestError: Invalid request: the 'add' property should be a hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions