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

Function defaultParam

lib/models/dav.js:10466–10468  ·  view source on GitHub ↗
(fn, params)

Source from the content-addressed store, hash-verified

10464 * params are shallow merged
10465 */
10466const defaultParam = (fn, params) => (...args) => {
10467 return fn({ ...params, ...args[0] });
10468};
10469const getBasicAuthHeaders = (credentials) => {
10470 debug(`Basic auth token generated: ${base64Exports.encode(`${credentials.username}:${credentials.password}`)}`);
10471 return {

Callers 15

createDAVClientFunction · 0.85
createObjectMethod · 0.85
updateObjectMethod · 0.85
deleteObjectMethod · 0.85
propfindMethod · 0.85
collectionQueryMethod · 0.85
makeCollectionMethod · 0.85
syncCollectionMethod · 0.85
supportedReportSetMethod · 0.85
isCollectionDirtyMethod · 0.85
smartCollectionSyncMethod · 0.85
calendarQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected