diff --git a/Frontend/js/yourteam/yourteam.jquery.datatables.js b/Frontend/js/yourteam/yourteam.jquery.datatables.js index 6ef18ff..dec59ae 100644 --- a/Frontend/js/yourteam/yourteam.jquery.datatables.js +++ b/Frontend/js/yourteam/yourteam.jquery.datatables.js @@ -160,7 +160,8 @@ function fnInitJqDataTablesAjax(apiUrl, tag, sendData = null, columns, columns_d } } let table = null; - let token = localStorage.getItem("JWT-Authorization"); + let cookies = new YourTeam.Utility.Cookie(); + let token = cookies.get("JWT-Authorization"); let ajaxMethod = "GET"; let ajaxSendData = null; if (typeof apiUrl == "object") {