mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
owner instead author
This commit is contained in:
@ -136,12 +136,12 @@ def edit(request):
|
||||
|
||||
if (meta):
|
||||
infObj = {
|
||||
'author': meta['uname'],
|
||||
'owner': meta['uname'],
|
||||
'created': meta['created']
|
||||
}
|
||||
else:
|
||||
infObj = {
|
||||
'author': 'Me',
|
||||
'owner': 'Me',
|
||||
'created': datetime.today().strftime('%d.%m.%Y %H:%M:%S')
|
||||
}
|
||||
infObj['favorite'] = request.COOKIES.get('uid') == 'uid-2' if request.COOKIES.get('uid') else None
|
||||
|
||||
Reference in New Issue
Block a user