backend: fix graphql servlet
This commit is contained in:
parent
711124065d
commit
ac9d611107
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Twenty::Servlet::GraphQL < Twenty::Servlet
|
|||
variables: params['variables'],
|
||||
context: {}
|
||||
)
|
||||
res.headers['content_type'] = 'application/json'
|
||||
res['content_type'] = 'application/json'
|
||||
res.status = 200
|
||||
res.body = result.to_json
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue