Alexandru Cambose пре 2 месеци
родитељ
комит
a4275824d2
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2 2
      apps/insights/src/cache.ts
  2. 1 1
      apps/insights/src/services/pyth/get-metadata.ts

+ 2 - 2
apps/insights/src/cache.ts

@@ -11,8 +11,8 @@ const transformer = {
 
 /**
  * - API routes will be cached for 1 hour
- * - Cached function will be cached for 10 minutes, 
- * If the function is called within 1 hour, it will 
+ * - Cached function will be cached for 10 minutes,
+ * If the function is called within 1 hour, it will
  * still be served from the cache, but also fetch the latest data
  */
 export const DEFAULT_NEXT_FETCH_TTL = 3600; // 1 hour

+ 1 - 1
apps/insights/src/services/pyth/get-metadata.ts

@@ -2,4 +2,4 @@ import { clients, Cluster } from ".";
 
 export const getPythMetadata = async (cluster: Cluster) => {
   return clients[cluster].getData();
-};
+};