Skip to content

Commit eda6a3d

Browse files
committed
minor fix
1 parent d4e9005 commit eda6a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/static/horoscope.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
async function daily_horoscope(singName) {
22
sign = singName.toLowerCase();
3-
var x = 'https://aztro.sameerkumar.website/?sign=' + sign + '&day=today'
3+
const signData = 'https://aztro.sameerkumar.website/?sign=' + sign + '&day=today'
44
const xhr = new XMLHttpRequest();
5-
xhr.open("POST", x, true);
5+
xhr.open("POST", signData, true);
66
xhr.onload = function() {
77
let obj = JSON.parse(this.responseText);
88
let daily = document.getElementById('daily_horoscope');

0 commit comments

Comments
 (0)