mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-14 11:28:28 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user