Add replies section to posts

master
Bob Mottram 2019-07-11 14:46:12 +01:00
parent f301139626
commit 4c298025f4
1 changed files with 9 additions and 9 deletions

View File

@ -385,15 +385,15 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
}, },
'attachment': [], 'attachment': [],
'tag': [], 'tag': [],
'replies': {} 'replies': {
# 'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies', 'id': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
# 'type': 'Collection', 'type': 'Collection',
# 'first': { 'first': {
# 'type': 'CollectionPage', 'type': 'CollectionPage',
# 'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies', 'partOf': 'https://'+domain+'/users/'+nickname+'/statuses/'+statusNumber+'/replies',
# 'items': [] 'items': []
# } }
#} }
} }
} }
else: else: