I'm Trying to send tag's ID in a array as tags will be multiple for a single blog.
const tagsList = data.tags.map((item: {
value: number;
label: string;
}) => {
return {
label: item.label, value: item.value
}
here is the structure of data.tags

}
)
details.append('tags', tagsList)
I'm Trying in this way but i'm unable to do so

Can anyone help me sending the ids of tags in an array? Thanks in advance