From 633868bc2c638ab15c31513bc0da7de92944bffc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 Jan 2018 10:03:13 +0100 Subject: [PATCH] Fix lint --- server/helpers/requests.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index ac3559c58..e8d77b15b 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts @@ -1,13 +1,12 @@ import * as Promise from 'bluebird' import { createWriteStream } from 'fs' -import { RequestResponse } from 'request' import * as request from 'request' import { ACTIVITY_PUB } from '../initializers' import Bluebird = require('bluebird') function doRequest ( requestOptions: request.CoreOptions & request.UriOptions & { activityPub?: boolean } -): Bluebird<{ response: RequestResponse, body: any }> { +): Bluebird<{ response: request.RequestResponse, body: any }> { if (requestOptions.activityPub === true) { if (!Array.isArray(requestOptions.headers)) requestOptions.headers = {} requestOptions.headers['accept'] = ACTIVITY_PUB.ACCEPT_HEADER -- 2.25.1