mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 23:19:36 +00:00
Fix get repo status. (#252)
This commit is contained in:
@@ -2592,7 +2592,7 @@ check_access_token (const char *token,
|
||||
|
||||
_repo_id = seafile_web_access_get_repo_id (webaccess);
|
||||
int status = seaf_repo_manager_get_repo_status(seaf->repo_mgr, _repo_id);
|
||||
if (status != REPO_STATUS_NORMAL) {
|
||||
if (status != REPO_STATUS_NORMAL && status != -1) {
|
||||
g_object_unref (webaccess);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user