refactor: remove unused OpenAIOAuthOptions after Sora platform removal
The options parameter only served to switch between 'openai' and 'sora' platforms. With Sora removed, the parameter is unnecessary.
This commit is contained in:
@@ -24,11 +24,7 @@ export interface OpenAITokenInfo {
|
||||
|
||||
export type OpenAIOAuthPlatform = 'openai'
|
||||
|
||||
interface UseOpenAIOAuthOptions {
|
||||
platform?: OpenAIOAuthPlatform
|
||||
}
|
||||
|
||||
export function useOpenAIOAuth(_options?: UseOpenAIOAuthOptions) {
|
||||
export function useOpenAIOAuth() {
|
||||
const appStore = useAppStore()
|
||||
const endpointPrefix = '/admin/openai'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user