Open pbvillaflores opened 5 years ago
I find set setAvailabilityForDay does not work but setPriceForDay is ok.
> var setav; undefined > airbnb.setAvailabilityForDay({ ... id: 27836280, ... date: '2019-07-29', ... availability: 'blocked' // or 'blocked'? ... }).then( v => { setav = v } ) .catch( e => { console.log(e) } ) Promise { <pending>, domain: Domain { domain: null, _events: [Object: null prototype] { removeListener: [Function: updateExceptionCapture], newListener: [Function: updateExceptionCapture], error: [Function: debugDomainError] }, _eventsCount: 3, _maxListeners: undefined, members: [], [Symbol(kWeak)]: WeakReference {} } } > > setav undefined
I find set setAvailabilityForDay does not work but setPriceForDay is ok.