api-render-ui 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -319,6 +319,7 @@ var GLOBAL_STYLES = `.codigma-apioperatorlist {
319
319
  align-self: stretch;
320
320
  flex: 1 1 0;
321
321
  min-height: 5rem;
322
+ flex-shrink: 0;
322
323
  /* padding: 2px */
323
324
  }
324
325
  .codigma-apiunit-apioperator:hover {
@@ -1109,7 +1110,7 @@ function sendRequest(apiOperator, responseSectionRef) {
1109
1110
  fetch(reuqestUrl, {
1110
1111
  method: apiInfo.method.toUpperCase(),
1111
1112
  headers,
1112
- body,
1113
+ body: ["GET", "HEAD"].includes(apiInfo.method.toUpperCase()) ? null : body,
1113
1114
  signal
1114
1115
  }).then((response) => {
1115
1116
  if (!response.ok) {