refactor: define the Dify project version in pyproject.toml (#20910)
This commit is contained in:
parent
cf2173644e
commit
1a7ad195f0
13 changed files with 77 additions and 15 deletions
|
|
@ -889,7 +889,7 @@ class RegisterService:
|
|||
|
||||
TenantService.create_owner_tenant_if_not_exist(account=account, is_setup=True)
|
||||
|
||||
dify_setup = DifySetup(version=dify_config.CURRENT_VERSION)
|
||||
dify_setup = DifySetup(version=dify_config.project.version)
|
||||
db.session.add(dify_setup)
|
||||
db.session.commit()
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue