Skip to content

Commit

Permalink
Fix file download issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iftakharul-islam committed Dec 5, 2024
1 parent a4d1c01 commit 68d255c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/assets/src/components/common/pm-file.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
const headers = {
"Content-Type": "application/json",
"X-WP-Nonce": PM_Global_Vars.permission,
"X-WP-Nonce": PM_Vars.permission,
};
const response = await fetch(permissionUrl, {
Expand Down
2 changes: 1 addition & 1 deletion views/assets/src/components/project-files/files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
try {
const headers = {
"Content-Type": "application/json",
"X-WP-Nonce": PM_Global_Vars.permission,
"X-WP-Nonce": PM_Vars.permission,
};
const response = await fetch(permissionUrl, {
Expand Down

0 comments on commit 68d255c

Please sign in to comment.