Skip to content

Commit 6a4015c

Browse files
committed
Add missing ignore_lock
1 parent 4fec2e3 commit 6a4015c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gramps_webapi/api/resources/trees.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from ...const import TREE_MULTI
4242
from ...dbmanager import WebDbManager
4343
from ..auth import has_permissions, require_permissions
44-
from ..util import abort_with_message, get_tree_from_jwt, use_args, list_trees
44+
from ..util import abort_with_message, get_tree_from_jwt, list_trees, use_args
4545
from . import ProtectedResource
4646

4747
# legal tree dirnames
@@ -119,6 +119,7 @@ def post(self, args):
119119
name=args["name"],
120120
create_if_missing=True,
121121
create_backend=backend,
122+
ignore_lock=current_app.config["IGNORE_DB_LOCK"],
122123
)
123124
if args.get("quota_media") or args.get("quota_people"):
124125
set_tree_quota(

0 commit comments

Comments
 (0)