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();
-};
+};