1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

[api] add missed oid

This commit is contained in:
poetwang
2012-08-21 21:08:10 +08:00
parent 955f2b57fe
commit debb3df48a

View File

@@ -284,6 +284,7 @@ class RepoDirPathView(ResponseMixin, View):
old_oid = request.GET.get('oid', None)
if old_oid and old_oid == dir_id :
response["oid"] = dir_id
return HttpResponse(json.dumps("uptodate"), status=200,
content_type=json_content_type)
else: