Skip to content

Commit

Permalink
Clarify comment about portal_type being ignored in @vocabularies.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgraf committed Nov 4, 2019
1 parent aeb3b06 commit 3c929e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opengever/api/schema/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def reply(self):
elif len(self.params) == 2:
# Add intent
# - context is the container where the object will be created
# - first parameter is the portal_type, not needed here
# - first parameter is the portal_type
# (which will be ignored by this endpoint, but is accepted
# for consistency with @sources and @querysources)
self.intent = 'add'
vocab_name = self.params[1]
alsoProvides(self.request, IDuringContentCreation)
Expand Down

0 comments on commit 3c929e6

Please sign in to comment.