Skip to content

Commit

Permalink
Fix create
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Apr 4, 2022
1 parent 823ab42 commit ec9b8f7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x-pack/plugins/fleet/server/services/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,7 @@ class OutputService {
id: options?.id ? outputIdToUuid(options.id) : undefined,
});

return {
id: options?.id ?? newSo.id,
...newSo.attributes,
};
return outputSavedObjectToOutput(newSo);
}

public async bulkGet(
Expand Down

0 comments on commit ec9b8f7

Please sign in to comment.