From 04084cd399a92567543894d0b21ce5f21670fa0a Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:27:47 -0700 Subject: [PATCH] fix --- packages/assets/src/canisters/assets_idl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assets/src/canisters/assets_idl.js b/packages/assets/src/canisters/assets_idl.js index 49e77017..e27f3a7d 100644 --- a/packages/assets/src/canisters/assets_idl.js +++ b/packages/assets/src/canisters/assets_idl.js @@ -2,6 +2,7 @@ export const idlFactory = ({ IDL }) => { const ClearArguments = IDL.Record({}); const BatchId = IDL.Nat; const Key = IDL.Text; + const HeaderField = IDL.Tuple(IDL.Text, IDL.Text); const CreateAssetArguments = IDL.Record({ key: Key, content_type: IDL.Text, @@ -26,7 +27,6 @@ export const idlFactory = ({ IDL }) => { SetAssetContent: SetAssetContentArguments, Clear: ClearArguments, }); - const HeaderField = IDL.Tuple(IDL.Text, IDL.Text); const HttpRequest = IDL.Record({ url: IDL.Text, method: IDL.Text,