show annotations in public interface
This commit is contained in:
parent
a92663f912
commit
c16385a8ef
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ def getAnnotations(data):
|
||||||
response['annotations'] = models.Annotation.get_by_item(data['id'])
|
response['annotations'] = models.Annotation.get_by_item(data['id'])
|
||||||
return response
|
return response
|
||||||
actions.register(getAnnotations)
|
actions.register(getAnnotations)
|
||||||
|
actions.register(getAnnotations, version='public')
|
||||||
|
|
||||||
|
|
||||||
def addAnnotation(data):
|
def addAnnotation(data):
|
||||||
|
|
Loading…
Reference in a new issue