mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-01 13:10:44 -03:00
fix: no se mostraban los likes propios en la pagina de perfil
This commit is contained in:
@@ -53,7 +53,10 @@
|
||||
async function obtenerPosts() {
|
||||
try {
|
||||
const req = await fetch(baseUrl + '/api/posts/user/' + params.perfil, {
|
||||
method: 'GET'
|
||||
method: 'GET',
|
||||
headers: {
|
||||
Authorization: `Bearer ${$sesionStore?.accessToken}`
|
||||
}
|
||||
});
|
||||
if (req.ok) {
|
||||
setPosts(await req.json());
|
||||
|
||||
Reference in New Issue
Block a user