Skip to content

Commit e296771

Browse files
authored
Update vanilla.html
1 parent 227066e commit e296771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/clients/auth0/vanilla.html

+1-1
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)