Fixes Aeson instances for UpdateAction

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2500
GitOrigin-RevId: 50d174d81dba0af18bc519110bef920ae64912cb
This commit is contained in:
Solomon Bothwell 2021-10-07 16:34:44 -07:00 committed by hasura-bot
parent 445a88aeac
commit f86378efb7
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ data UpdateAction = UpdateAction
{ _uaName :: !ActionName,
_uaDefinition :: !ActionDefinitionInput,
_uaComment :: !(Maybe Text),
_uaTransform :: !(Maybe MetadataTransform)
_uaRequestTransform :: !(Maybe MetadataTransform)
}
$(J.deriveFromJSON hasuraJSON ''UpdateAction)

View File

@ -141,7 +141,7 @@ args:
type: InObject!
output_type: OutObject
handler: http://127.0.0.1:5593/mirror-action
transform:
request_transform:
template_engine: Kriti
body: |
{