diff --git a/plugins/cipf_plugin/utils/plgntls_fetch.js b/plugins/cipf_plugin/utils/plgntls_fetch.js index 0e3a503..6854404 100644 --- a/plugins/cipf_plugin/utils/plgntls_fetch.js +++ b/plugins/cipf_plugin/utils/plgntls_fetch.js @@ -8,7 +8,7 @@ export function PLGNTLS_fetch(url, options = {}) { url = PLGNTLS_data.fetch_url + url; options.headers = options.headers || {}; - options.headers['X-WP-Nonce'] = PLGNTLS_data.fetch_nonce, + options.headers['X-WP-Nonce'] = PLGNTLS_data.fetch_nonce; return fetch(url, options); }