Skip to content

Commit

Permalink
fix: tsc errors within the web examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bruuuuuuuce committed Apr 30, 2024
1 parent 43611ab commit 3f9afc7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/web/cache/advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ async function setGetDeleteExample() {
logger.info('cache miss');
} else if (getResponse instanceof CacheGet.Error) {
logger.info(`Error: ${getResponse.message()}`);
} else {
throw new Error(`Unrecognized response: ${getResponse.toString()}`);
}

const deleteResponse = await momento.delete(cacheName, cacheKey);
Expand Down

0 comments on commit 3f9afc7

Please sign in to comment.