Пофиксил баг
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Lulzette 2021-11-01 06:07:41 +03:00
parent f4732836ad
commit 2785d3d6b6

View File

@ -112,7 +112,7 @@ class Back():
else:
newPostJson = {'name': name, 'text': body,
'create_timestamp': str(time.time())}
newPost = posts.insert_one(newPost).inserted_id
newPost = posts.insert_one(newPostJson).inserted_id
result = dict(status=200, state='new')
return str(result)