chore: Clarify usage of window fields in UIWindowFeedback.js

/puter/src/UI/UIWindowFeedback.js
  79:22  error  'api_origin' is not defined  no-undef
  84:48  error  'auth_token' is not defined  no-undef
This commit is contained in:
Sam Atkins
2024-05-01 16:39:47 +01:00
parent 7f050dc61a
commit c44e0ca737
+2 -2
View File
@@ -76,12 +76,12 @@ async function UIWindowQR(options){
if(message)
$(this).prop('disabled', true);
$.ajax({
url: api_origin + "/contactUs",
url: window.api_origin + "/contactUs",
type: 'POST',
async: true,
contentType: "application/json",
headers: {
"Authorization": "Bearer "+auth_token
"Authorization": "Bearer "+window.auth_token
},
data: JSON.stringify({
message: message,