Skip to content

Commit

Permalink
default to form post if not set.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Sep 15, 2024
1 parent 2c33651 commit b0b6c8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ window.Typerefinery.Page.Files = Typerefinery.Page.Files || {};
if (!writePayloadType || !writeMethod ) {
writePayloadType = "application/json";
writeMethod = "POST";
console.log("Payload type or method not set, defaulting to JSON and POST.");
return;
console.warn("Payload type or method not set, defaulting to JSON and POST.");
// return;
}
const payload = await ns.getFormData($component);
ns.updateButtonState($component, "loading");
Expand Down

0 comments on commit b0b6c8d

Please sign in to comment.