mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	hotfix: ts check
This commit is contained in:
		@@ -64,10 +64,10 @@ export const useSdStore = createPersistStore<
 | 
			
		||||
      },
 | 
			
		||||
      stabilityRequestCall(data: any) {
 | 
			
		||||
        const accessStore = useAccessStore.getState();
 | 
			
		||||
        let prefix = ApiPath.Stability;
 | 
			
		||||
        let prefix: string = ApiPath.Stability as string;
 | 
			
		||||
        let bearerToken = "";
 | 
			
		||||
        if (accessStore.useCustomConfig) {
 | 
			
		||||
          prefix = accessStore.stabilityUrl || ApiPath.Stability;
 | 
			
		||||
          prefix = accessStore.stabilityUrl || (ApiPath.Stability as string);
 | 
			
		||||
          bearerToken = getBearerToken(accessStore.stabilityApiKey);
 | 
			
		||||
        }
 | 
			
		||||
        if (!bearerToken && accessStore.enabledAccessControl()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user