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:
Byron.wangandautofix-ci[bot] authored and GitHub committed 2026-08-11 07:39:01 +00:00
1 parent 7fffd51535
commit c1e94f8ee7
250 files changed
+1217 -1378

No files matched your search

+1 -1
View File
@@ -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 () => {