From 28a1f7922db4104a7273fb028013f845b554a495 Mon Sep 17 00:00:00 2001 From: asus Date: Sun, 24 Mar 2024 16:06:47 +0100 Subject: [PATCH] fixed error in fetch --- plugins/cipf_plugin/utils/plgntls_fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }