forked from indymedia/epicyon
object
parent
f7419c1f21
commit
2a3c05c482
2
like.py
2
like.py
|
@ -128,7 +128,7 @@ def updateLikesCollection(postFilename: str,objectUrl: str, actor: str,debug: bo
|
||||||
'actor': actor
|
'actor': actor
|
||||||
}
|
}
|
||||||
postJsonObject['object']['likes']['items'].append(newLike)
|
postJsonObject['object']['likes']['items'].append(newLike)
|
||||||
postJsonObject['object']['likes']['totalItems']=len(postJsonObject['likes']['items'])
|
postJsonObject['object']['likes']['totalItems']=len(postJsonObject['object']['likes']['items'])
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print('DEBUG: saving post with likes added')
|
print('DEBUG: saving post with likes added')
|
||||||
|
|
Loading…
Reference in New Issue