Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Send response data in renderPage attribute #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NotBobTheBuilder
Copy link
Member

This code is hacky and undoubtedly needs a pair of eyes on it to find a better way.

Previously this data was sent in two places - "renderPage" and the class name of the entity that was sent.

Eg:

{
  "renderPage": data here...
  "Collection_Timetable": same data here...
}

This patch fixes that.

It also avoids a collision whereby login information - stored in Object_User - would clash with the response of an API call to /rest/user.

Previously this data was sent in two places - "renderPage" and the class name of the entity that was sent.

Eg:

    {
      "renderPage": data here...
      "Collection_Timetable": same data here...
    }

This patch fixes that.
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.

1 participant