Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setAvailabilityForDay method does not seem to work #29

Open
pbvillaflores opened this issue Jul 12, 2019 · 0 comments
Open

setAvailabilityForDay method does not seem to work #29

pbvillaflores opened this issue Jul 12, 2019 · 0 comments

Comments

@pbvillaflores
Copy link

pbvillaflores commented Jul 12, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant