Skip to content

Commit 8f14de5

Browse files
committed
hotfix: ts check
1 parent 8f6e5d7 commit 8f14de5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/store/sd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export const useSdStore = createPersistStore<
6464
},
6565
stabilityRequestCall(data: any) {
6666
const accessStore = useAccessStore.getState();
67-
let prefix = ApiPath.Stability;
67+
let prefix: string = ApiPath.Stability as string;
6868
let bearerToken = "";
6969
if (accessStore.useCustomConfig) {
70-
prefix = accessStore.stabilityUrl || ApiPath.Stability;
70+
prefix = accessStore.stabilityUrl || (ApiPath.Stability as string);
7171
bearerToken = getBearerToken(accessStore.stabilityApiKey);
7272
}
7373
if (!bearerToken && accessStore.enabledAccessControl()) {

0 commit comments

Comments
 (0)