We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6e5d7 commit 8f14de5Copy full SHA for 8f14de5
1 file changed
app/store/sd.ts
@@ -64,10 +64,10 @@ export const useSdStore = createPersistStore<
64
},
65
stabilityRequestCall(data: any) {
66
const accessStore = useAccessStore.getState();
67
- let prefix = ApiPath.Stability;
+ let prefix: string = ApiPath.Stability as string;
68
let bearerToken = "";
69
if (accessStore.useCustomConfig) {
70
- prefix = accessStore.stabilityUrl || ApiPath.Stability;
+ prefix = accessStore.stabilityUrl || (ApiPath.Stability as string);
71
bearerToken = getBearerToken(accessStore.stabilityApiKey);
72
}
73
if (!bearerToken && accessStore.enabledAccessControl()) {
0 commit comments