Fixed currentuser.token
It needs ":" at finally of string
This commit is contained in:
parent
184d22ac81
commit
9489a70597
|
@ -398,7 +398,7 @@
|
||||||
<script>
|
<script>
|
||||||
const table = new simpleDatatables.DataTable("table")
|
const table = new simpleDatatables.DataTable("table")
|
||||||
const API_URLS = {
|
const API_URLS = {
|
||||||
Auth_Token: `Basic ${btoa("{{ current_user.token }}")}`, //
|
Auth_Token: `Basic ${btoa("{{ current_user.token }}:")}`, //
|
||||||
currentUserID: "{{ current_user.id }}",
|
currentUserID: "{{ current_user.id }}",
|
||||||
lots: "{{ url_for('Lot.main') }}",
|
lots: "{{ url_for('Lot.main') }}",
|
||||||
devices: "{{ url_for('Device.main') }}",
|
devices: "{{ url_for('Device.main') }}",
|
||||||
|
|
Reference in a new issue