getFileById()
Syntax
getFileById(id: string | number, token?: string)Parameters
Name
Type
Required
Description
Example
import { getFileById } from "@eueno/lib-browser";
const getDetailFile = async (id, token) => {
try {
const response = await getFileById(id);
console.log(response?.data?.data);
} catch (error) {
console.log(error);
}
};Last updated