Skip to content

Commit

Permalink
hotfix: ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Jul 25, 2024
1 parent 8f6e5d7 commit 8f14de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/store/sd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 8f14de5

Please sign in to comment.