diff --git a/src/utils/ApiRequests.js b/src/utils/ApiRequests.js index 1ed7559..74b3dc0 100644 --- a/src/utils/ApiRequests.js +++ b/src/utils/ApiRequests.js @@ -188,7 +188,7 @@ export const TrackMe = async (store, id64, authcode, sharecode = '') => { }) return STATUS.IM_A_TEAPOT } - if (authcode === '' || !AUTHCODE_REGEX.test(authcode)) { + if (authcode === '' || !AUTHCODE_REGEX.test(authcode.toUpperCase())) { store.commit({ type: 'changeInfoState', data: { @@ -201,7 +201,7 @@ export const TrackMe = async (store, id64, authcode, sharecode = '') => { } await axios - .post(`${API_URL}/player/${id64}/track`, `authcode=${authcode}&sharecode=${sharecode}`) + .post(`${API_URL}/player/${id64}/track`, `authcode=${authcode.toUpperCase()}&sharecode=${sharecode}`) .then((res) => { if (res.status === STATUS.ACCEPTED) { store.commit({