mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-30 03:38:50 +01:00
fix bug lol
This commit is contained in:
@@ -127,7 +127,7 @@ export default {
|
|||||||
error({ statusCode: 404, message: "Post not found" });
|
error({ statusCode: 404, message: "Post not found" });
|
||||||
});
|
});
|
||||||
const {data: likes} = await $axios.get(`posts/${params.slug}`)
|
const {data: likes} = await $axios.get(`posts/${params.slug}`)
|
||||||
const liked = 0 await $axios.get(`posts/is/${params.slug}`)
|
const liked = await $axios.get(`posts/is/${params.slug}`)
|
||||||
return {
|
return {
|
||||||
post,
|
post,
|
||||||
likes,
|
likes,
|
||||||
|
|||||||
Reference in New Issue
Block a user