mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
refactor(api): consolidate deployment edition handling (#40142)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
7fffd51535
commit
c1e94f8ee7
250 files changed
+1217
-1378
No files matched your search
@@ -38,7 +38,7 @@ describe('MetaClient', () => {
|
||||
const info = await client.serverVersion()
|
||||
|
||||
expect(info.version).toBe('')
|
||||
expect(info.edition).toBe('SELF_HOSTED')
|
||||
expect(info.edition).toBe('COMMUNITY')
|
||||
})
|
||||
|
||||
it('throws when the host has no Dify on it', async () => {
|
||||
|
||||
Reference in new issue
Block a user