Skip to content

Commit e0e3c4c

Browse files
committed
Merge branch 'master' of github.com:mevdschee/php-crud-api
2 parents b867e09 + e296771 commit e0e3c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/clients/auth0/vanilla.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
var audience = 'https://your-php-crud-api/api.php'; // api audience as defined in auth0
88
var url = '/api.php/records/posts?join=categories&join=tags&join=comments&filter=id,eq,1';
99

10-
function requestApi() {
10+
function requestAPI() {
1111
var match = RegExp('[#&]access_token=([^&]*)').exec(window.location.hash);
1212
var accessToken = match && decodeURIComponent(match[1].replace(/\+/g, ' '));
1313
if (!accessToken) {

0 commit comments

Comments
 (0)