1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

[api] fix a bug

This commit is contained in:
poetwang
2012-08-21 20:45:16 +08:00
parent b0aede8c42
commit 955f2b57fe

View File

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