mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 06:11:16 +00:00
[api] Fix typo
This commit is contained in:
@@ -144,7 +144,7 @@ def get_msg_group_id_and_last_reply(msg_id):
|
||||
try:
|
||||
msg = GroupMessage.objects.get(id=msg_id)
|
||||
except GroupMessage.DoesNotExist:
|
||||
return None, none
|
||||
return None, None
|
||||
|
||||
replies = MessageReply.objects.filter(reply_to=msg).order_by('-timestamp')[:1]
|
||||
if len(replies) >= 1:
|
||||
|
Reference in New Issue
Block a user