main2
Bob Mottram 2019-09-23 21:33:26 +01:00
parent f7419c1f21
commit 2a3c05c482
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def updateLikesCollection(postFilename: str,objectUrl: str, actor: str,debug: bo
'actor': actor
}
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:
print('DEBUG: saving post with likes added')