Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit b3f6601

Browse files
fixing tests
1 parent f10528c commit b3f6601

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/hooks/save-remote-images.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/**
55
* TODO: Refactor and test that hook
66
*/
7-
const errors = require('feathers-errors');
87
const { isEmpty } = require('lodash');
98
const fs = require('fs');
109
const path = require('path');
@@ -32,7 +31,7 @@ function createUploadDirIfNeeded () {
3231
module.exports = function (options = []) { // eslint-disable-line no-unused-vars
3332
return function async (hook) {
3433

35-
return new Promise((resolve, reject) => {
34+
return new Promise((resolve) => {
3635

3736
let urls = [];
3837

0 commit comments

Comments
 (0)