Skip to content

Commit

Permalink
Add OperationDefinition as supported resource #41
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Ignatov committed Apr 15, 2021
1 parent 25d5982 commit ca14730
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ExportManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,9 @@ class ExportManager
{
const requestedTypes = lib.makeArray(types || "").map(t => String(t || "").trim()).filter(Boolean);
const availableTypes = await lib.getAvailableResourceTypes(this.stu);
if (availableTypes.indexOf("OperationDefinition") === -1) {
availableTypes.push("OperationDefinition");
}
const badParam = requestedTypes.find(type => availableTypes.indexOf(type) == -1);
if (badParam) {
this.resourceTypes = [];
Expand Down

0 comments on commit ca14730

Please sign in to comment.