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
Sat, Sep 20, 14:49 (1 d, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
878461
Default Alt Text
get-attachment.ts (200 B)

Event Timeline