forked from spacebar/SplatNet
rename /me route to /session_id/check to make more sense
This commit is contained in:
parent
5eed1e35b0
commit
adaf6370ff
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
|
||||
async function checkExistingSession() {
|
||||
try {
|
||||
const response = await fetch(`${apiBase}/api/v1/users/me`, {
|
||||
const response = await fetch(`${apiBase}/api/v1/session_id/check`, {
|
||||
method: 'GET',
|
||||
credentials: 'include'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ $(document).ready(function () {
|
|||
|
||||
async function checkExistingSession() {
|
||||
try {
|
||||
const response = await fetch(apiBase + "/api/v1/users/me", {
|
||||
const response = await fetch(apiBase + "/api/v1/session_id/check", {
|
||||
method: 'GET',
|
||||
credentials: 'include'
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue