Skip to content

fetchLinkMedia needs to have a proper response payload #22

@mohamedmansour

Description

@mohamedmansour

Right now, as a consumer, we have to know the "indexes" like [0][3] is always a title, [0][21] is always the description, it would be better to return an object instead, and it will make tests easier to fix :)

For example,

res {
  status: Boolean,
  data: {
     title: String,
     description: String,
     mimetype: String
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions