Skip to content

Commit db2fd0b

Browse files
committed
remove the && false
1 parent cdd5d26 commit db2fd0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/stores/protocolStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const useProtocolStore = create<ProtocolState>((set, get) => ({
7979
environment: 'prod' | 'stg',
8080
ski: string,
8181
) => {
82-
const url = `${environment === 'prod' && false ? API_URL : API_URL_STAGING}/ski-pems/${ski.toLowerCase()}`; // TODO: remove false once we have the endpoint in production
82+
const url = `${environment === 'prod' ? API_URL : API_URL_STAGING}/ski-pems/${ski.toLowerCase()}`; // TODO: remove false once we have the endpoint in production
8383
try {
8484
const response = await fetch(url, {
8585
method: 'GET',
@@ -328,7 +328,7 @@ export const useProtocolStore = create<ProtocolState>((set, get) => ({
328328
environment: 'prod' | 'stg',
329329
ski: string,
330330
) => {
331-
const url = `${environment === 'prod' && false ? API_URL : API_URL_STAGING}/ski-pems/${ski.toLowerCase()}`; // TODO: remove false once we have the endpoint in production
331+
const url = `${environment === 'prod' ? API_URL : API_URL_STAGING}/ski-pems/${ski.toLowerCase()}`; // TODO: remove false once we have the endpoint in production
332332
try {
333333
const response = await fetch(url, {
334334
method: 'GET',

0 commit comments

Comments
 (0)