You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on my understanding of the documentation (and expectations), I shouldn't have to pass the URL in the get() method, but I'm able to get around the issue by doing the following:
API.events.get('');
The get() function already has the chapters url at this point, but it doesn't look like it's using it.
The text was updated successfully, but these errors were encountered:
Given the following:
var API = Phonebook.open({
url: '/',
options: {
dataType: 'json'
},
data: {}
});
API.addChapter({
name: 'events',
url: '/events'
});
API.events.get();
Phonebook will attempt a GET request to http://localhost/eventsundefined
Based on my understanding of the documentation (and expectations), I shouldn't have to pass the URL in the get() method, but I'm able to get around the issue by doing the following:
API.events.get('');
The get() function already has the chapters url at this point, but it doesn't look like it's using it.
The text was updated successfully, but these errors were encountered: