Skip to content

Commit

Permalink
Change the import from node-specific to just request http/https (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmantank authored Nov 10, 2022
1 parent bf72c44 commit 34ab564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vetch/lib/vetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import fetch, { Response as fetchResponse } from 'node-fetch'
import { stringify } from 'querystring'
import merge from 'lodash.merge'
import http from 'node:http'
import https from 'node:https'
import http from 'http'
import https from 'https'
import URL from 'url'

import {
Expand Down Expand Up @@ -129,7 +129,7 @@ export class Vetch {
// Set our user agent
opts.headers[
'user-agent'
] = `@vonage/server-sdk/3.0.0-alpha.6 node/${process.version.replace(
] = `@vonage/server-sdk/3.0.0 node/${process.version.replace(
'v',
''
)}`
Expand Down

0 comments on commit 34ab564

Please sign in to comment.