Page MenuHomeSealhub

get-attachment.ts
No OneTemporary

get-attachment.ts

export default function getAttachment(
item: { [field: string]: string },
field: string,
response: { attachments: { [id: string]: any } }
) {
return response.attachments[item[field] as string];
}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 20:42 (23 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556434
Default Alt Text
get-attachment.ts (200 B)

Event Timeline