Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Feb 7, 2024
1 parent 48bae20 commit b21e502
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions projects/srm/src/app/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export class ApiService {
const cached = memoryCache.get(key);
// console.log('GOT MEM CACHED', !!cached, stateKey);
if (cached) {
if (this.platform.server()) {
}
return from([cached]);
}
if (this.waiting[key]) {
Expand Down Expand Up @@ -220,9 +218,9 @@ export class ApiService {
}

getCards(searchParams: SearchParams, offset=0, zoomedIn=true): Observable<Card[]> {
if (this.platform.server()) {
return from([]);
}
// if (this.platform.server()) {
// return from([]);
// }
const params: any = {
size: 10,
offset: offset,
Expand Down

0 comments on commit b21e502

Please sign in to comment.