MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / conditionalParam

Function conditionalParam

lib/models/dav.js:9089–9096  ·  view source on GitHub ↗
(key, param)

Source from the content-addressed store, hash-verified

9087 return prev;
9088}, {});
9089const conditionalParam = (key, param) => {
9090 if (param) {
9091 return {
9092 [key]: param,
9093 };
9094 }
9095 return {};
9096};
9097const excludeHeaders = (headers, headersToExclude) => {
9098 if (!headers) {
9099 return {};

Callers 2

calendarMultiGetFunction · 0.85
fetchCalendarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected