I got a weird response:
# prisma-whats-new
p
I got a weird response:
Copy code
Request to <https://eu1.prisma.sh/patrick-van-rietschoten-5d5eb5/prisma/local>:
query:
mutation ($_data: FileUpdateInput!, $_where: FileWhereUniqueInput!) {
  updateFile(data: $_data, where: $_where) {
    id
    createdAt
    updatedAt
    deletedAt
    writeSecret
    originalName
    contentType
    mimeType
    bucket
    key
    size
    location
  }
}
operationName: null
variables:
{
  "_data": {
    "originalName": "cropped.jpg",
    "contentType": "application/octet-stream",
    "mimeType": "image/jpeg",
    "bucket": "nl.myfreight.mygraphqlbucket",
    "key": "345dc9f3-a571-4192-842d-ba16e1f4e44e.jpeg",
    "size": 84039,
    "location": "<https://s3.eu-central-1.amazonaws.com/nl.myfreight.mygraphqlbucket/345dc9f3-a571-4192-842d-ba16e1f4e44e.jpeg>"
  },
  "_where": {
    "writeSecret": "testtest"
  }
}
[GraphQL error]: Message: The field Field(contentType,String,None,false,false,false,false,false,None,None,None,None,List()),Field(size,Int,None,false,false,false,false,false,None,None,None,None,List()) is read only., Location: [object Object], Path: updateFile
Response from <https://eu1.prisma.sh/patrick-van-rietschoten-5d5eb5/prisma/local>:
{
  "updateFile": null
}