hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { formClient } from "../client"; |
| 2 | import type { ImageMeta } from "../client"; |
| 3 | |
| 4 | export function postBankQuestionImage(bankQuestionId: string, file: File, signal?: AbortSignal): Promise<ImageMeta> { |
| 5 | const body = new FormData(); |
| 6 | body.append("file", file); |
| 7 | return formClient<ImageMeta>(`/bank-questions/${bankQuestionId}/image`, body, signal); |
| 8 | } |