updated schedule date to use local time
This commit is contained in:
parent
166dfab635
commit
376a94edc3
2 changed files with 12 additions and 4 deletions
|
@ -86,7 +86,10 @@ const getLists = function () {
|
|||
const config = useRuntimeConfig();
|
||||
$fetch<MovieList[]>(`${config.public.apiURL}/lists`, {
|
||||
method: "GET",
|
||||
headers: { "Content-type": "application/json" },
|
||||
headers: {
|
||||
"Content-type": "application/json",
|
||||
Authorization: `Token ${useCookie("token").value}`,
|
||||
},
|
||||
})
|
||||
.then((data) => (lists.value = data))
|
||||
.catch((err) => console.log(err));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue