From f6911875767ce87969bc6b09322a88dcf605d4f6 Mon Sep 17 00:00:00 2001 From: Paul Norton Date: Fri, 23 Feb 2024 09:18:48 -0500 Subject: [PATCH] reuse metadata64 for async request --- policy/data/gql_async.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/data/gql_async.go b/policy/data/gql_async.go index c5ccaf0..f32caee 100644 --- a/policy/data/gql_async.go +++ b/policy/data/gql_async.go @@ -106,7 +106,7 @@ func (ds AsyncDataSource) Query(ctx context.Context, queryName string, query str Query: query, Variables: ednVariables, }, - Metadata: b64.StdEncoding.EncodeToString(metadataEdn), + Metadata: metadata64, } reqEdn, err := edn.Marshal(request)