mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
⚡ Stringify tag IDs in GET workflows/:id
This commit is contained in:
parent
9ec9ff9f71
commit
14368ccc63
|
@ -581,7 +581,8 @@ class App {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
result.tags = await TagHelpers.getWorkflowTags(req.params.id);
|
||||
const foundTags = await TagHelpers.getWorkflowTags(req.params.id);
|
||||
result.tags = foundTags.map(({ id, name }) => ({ id: id.toString(), name }));
|
||||
|
||||
// Convert to response format in which the id is a string
|
||||
(result as IWorkflowBase as IWorkflowResponse).id = result.id.toString();
|
||||
|
|
Loading…
Reference in a new issue