(fileId)
| 17 | } |
| 18 | |
| 19 | export async function getFileObject(fileId) { |
| 20 | const file = await getFile(fileId); |
| 21 | const content = await getFileContent(fileId); |
| 22 | return { |
| 23 | ...file, |
| 24 | Content: content, |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | export async function getFileContent(fileId) { |
| 29 | const response = await apiRequest(GET_FILE_CONTENT, {body: {PostID: fileId}}); |
nothing calls this directly
no test coverage detected