mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 03:44:27 +00:00
feat(api): use enum for API protocol in provider config
This commit is contained in:
@@ -315,7 +315,7 @@ describe('AuthzService', () => {
|
||||
|
||||
// Provider
|
||||
const provider = await prisma.provider.create({
|
||||
data: { name: 'Prov 1', teamId: team.id, config: { api: 'openai' } },
|
||||
data: { name: 'Prov 1', teamId: team.id, config: { api: 'openai-completions' } },
|
||||
})
|
||||
|
||||
// Invite
|
||||
|
||||
Reference in New Issue
Block a user