Commit 651b93b 1 parent f642eca commit 651b93b Copy full SHA for 651b93b
File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { Effect } from 'effect' ;
2
- import { GithubUserSchema , OAuthProvider } from './schema' ;
3
- import { HttpClient } from '@effect/platform' ;
2
+ import { OAuthProvider } from './schema' ;
4
3
import { google } from 'googleapis' ;
5
4
import { Octokit } from 'octokit' ;
6
5
import { assertUnreachable } from '../utils/assert' ;
Original file line number Diff line number Diff line change 1
1
import { HttpServer } from '@effect/platform' ;
2
- import { Config , Effect } from 'effect' ;
2
+ import { Effect } from 'effect' ;
3
3
4
4
export const HealthRouter = HttpServer . router . empty . pipe (
5
5
HttpServer . router . get (
6
6
'/health' ,
7
- Effect . map ( Config . string ( 'xD' ) , ( v ) =>
8
- HttpServer . response . text ( v , { status : 204 } ) ,
7
+ Effect . map ( HttpServer . request . ServerRequest , ( ) =>
8
+ HttpServer . response . empty ( { status : 204 } ) ,
9
9
) ,
10
10
) ,
11
11
) ;
You can’t perform that action at this time.
0 commit comments