Skip to content

Commit b1d13f5

Browse files
committed
feat: reduce module depth limit from 3 to 2
1 parent bb4b35b commit b1d13f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/modules/serializers/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_module_type(source):
2525
return None
2626

2727

28-
MODULE_DEPTH = 3 # Module 不能超过3层
28+
MODULE_DEPTH = 2 # Module 不能超过3层
2929

3030

3131
def check_depth(source, parent_id, current_depth=0):

0 commit comments

Comments
 (0)