Skip to content

setAvailabilityForDay method does not seem to work #29

Open
@pbvillaflores

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions