-
-
Save EdwardIII/327a90a026b9ccd34e58866f4cc57957 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public getAvailability(apiToken) { | |
return new Promise((resolve, reject) => { | |
axios.get('api/connect/hotels/id/availability') | |
.then((response) => resolve(response.data)) | |
.catch(error => reject(new HttpRequestError(error))); | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment