Kaynağa Gözat

Merge branch 'master' of github.com:mevdschee/php-crud-api

Maurits van der Schee 4 yıl önce
ebeveyn
işleme
e0e3c4cba5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      examples/clients/auth0/vanilla.html

+ 1
- 1
examples/clients/auth0/vanilla.html Dosyayı Görüntüle

@@ -7,7 +7,7 @@ var clientId = ''; // client id as defined in auth0
7 7
 var audience = 'https://your-php-crud-api/api.php'; // api audience as defined in auth0
8 8
 var url = '/api.php/records/posts?join=categories&join=tags&join=comments&filter=id,eq,1';
9 9
 
10
-function requestApi() {
10
+function requestAPI() {
11 11
     var match = RegExp('[#&]access_token=([^&]*)').exec(window.location.hash);
12 12
     var accessToken = match && decodeURIComponent(match[1].replace(/\+/g, ' '));
13 13
     if (!accessToken) {

Loading…
İptal
Kaydet