From 436c520a05af1ffe1438c0b77c8784fc89bf7d29 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Thu, 22 Aug 2024 10:52:51 +0700 Subject: [PATCH] fix test --- cmd/hasura-ndc-go/command/test_snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hasura-ndc-go/command/test_snapshots.go b/cmd/hasura-ndc-go/command/test_snapshots.go index 6fb723e..ecd8aff 100644 --- a/cmd/hasura-ndc-go/command/test_snapshots.go +++ b/cmd/hasura-ndc-go/command/test_snapshots.go @@ -153,7 +153,7 @@ func (cmd *genTestSnapshotsCommand) genQueryArguments(arguments schema.FunctionI if err != nil { return nil, err } - result[key] = schema.NewLiteralArgument(value).Encode() + result[key] = schema.NewArgumentLiteral(value).Encode() } return result, nil }