Skip to content

Commit 4e00378

Browse files
committed
TEST
1 parent 5fdcdcb commit 4e00378

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import EventSource from 'eventsource'
22

3-
// import { GraphQLClient, gql, ClientError } from 'graphql-request'
43
import { validate } from './validate'
54
import { tryParseJson, errors, buildUrlHeaders } from './utils'
65
import { logger, workflowLogger } from './logger'
@@ -15,10 +14,8 @@ async function main(argv, env): Promise<void> {
1514
if (verbose) {
1615
logger.debug('running with verbose log')
1716
}
18-
1917
const payload = validate(env)
20-
21-
const { url, headers } = buildUrlHeaders(payload)
18+
const { url, headers } = await buildUrlHeaders(payload)
2219
if (verbose) {
2320
logger.debug(`payload: ${JSON.stringify(payload, null, 2)}`)
2421
logger.debug(`sending request: ${url}, headers: ${JSON.stringify(headers)}`)

0 commit comments

Comments
 (0)