Minor code refactoring

This commit is contained in:
taehoon 2019-03-01 22:50:06 -05:00
parent d65422a6a5
commit 333afd2138
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,3 @@
import { generateUrl } from '../../utils/url'
/* eslint-env browser */ /* eslint-env browser */
const LOGIN_URL = '/api/account/verify_credentials.json' const LOGIN_URL = '/api/account/verify_credentials.json'
const FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json' const FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json'
@ -53,6 +51,7 @@ import { each, map } from 'lodash'
import { parseStatus, parseUser, parseNotification } from '../entity_normalizer/entity_normalizer.service.js' import { parseStatus, parseUser, parseNotification } from '../entity_normalizer/entity_normalizer.service.js'
import 'whatwg-fetch' import 'whatwg-fetch'
import { StatusCodeError } from '../errors/errors' import { StatusCodeError } from '../errors/errors'
import { generateUrl } from '../../utils/url'
const oldfetch = window.fetch const oldfetch = window.fetch