Skip to content

Conversation

SychO9
Copy link
Contributor

@SychO9 SychO9 commented Feb 17, 2024

If for whatever reason a request has the attributes value as null (or relationships value). a PHP error is thrown where the code expects it to be an array.

POST /records

{
  "data": {
    "type": "records",
    "attributes": null
  }
}

@tobyzerner tobyzerner merged commit 0b1b076 into tobyzerner:main Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants