File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { mutationType , queryType } from "../schema" ;
2
2
import { contentQuery , contentMutation } from "./content" ;
3
3
import { whitelistQuery , whitelistMutation } from "./whitelist" ;
4
- // import watchtime from "./watchtime";
4
+ import watchtime from "./watchtime" ;
5
5
import getTwitchUser from "./getTwitchUser" ;
6
6
7
7
import me from "./me" ;
@@ -16,7 +16,7 @@ export const resolvers = {
16
16
Query : {
17
17
...contentQuery ,
18
18
...me ,
19
- // ...watchtime,
19
+ ...watchtime ,
20
20
...getTwitchUser ,
21
21
...whitelistQuery ,
22
22
} ,
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import { schema as gql } from "./gql";
14
14
import { db , schema } from "./db" ;
15
15
import watchtime from "./watchtime" ;
16
16
// IN TESTING
17
- // setInterval(watchtime, 150000);
18
- // watchtime();
17
+ setInterval ( watchtime , 150000 ) ;
18
+ watchtime ( ) ;
19
19
const app = express ( ) ;
20
20
21
21
app . use ( cookieParser ( ) ) ;
You can’t perform that action at this time.
0 commit comments