File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ const resolvers = {
1717 latest_nodes_per_community : async ( args , context ) => {
1818 const db = await context ( ) ;
1919 const pipeline = require ( './mongodb_queries/latest_nodes_per_community.js' ) ;
20- return db . collection ( 'hourly_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
20+ return db . collection ( 'daily_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
2121 } ,
2222 grouped_nodes_timeseries : async ( args , context ) => {
2323 const db = await context ( ) ;
2424 const pipeline = require ( './mongodb_queries/grouped_nodes_timeseries.js' ) ;
25- return db . collection ( 'hourly_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
25+ return db . collection ( 'daily_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
2626 } ,
2727 routing_protocols : async ( args , context ) => {
2828 const db = await context ( ) ;
2929 const pipeline = require ( './mongodb_queries/routing_protocols.js' ) ;
30- return db . collection ( 'hourly_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
30+ return db . collection ( 'daily_snapshot ' ) . aggregate ( pipeline ) . toArray ( ) ;
3131 }
3232} ;
3333
You can’t perform that action at this time.
0 commit comments