bun run format

This commit is contained in:
2026-01-27 19:43:32 -03:00
parent 37f1b46306
commit e1864660a7
19 changed files with 115 additions and 121 deletions

View File

@@ -5,9 +5,9 @@ import { sesionStore } from '@/stores/usuario';
export async function updatePost(post: Post, callbackfn: Function, message: string) {
try {
const formData = new FormData();
formData.append("content", post.content);
formData.append("image", post.image||"");
const formData = new FormData();
formData.append('content', post.content);
formData.append('image', post.image || '');
const req = await fetch(get(apiBase) + `/api/posts/${post.id}`, {
method: 'PUT',