mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fix errors
This commit is contained in:
parent
aabeb5f493
commit
87d2827f0f
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ import {YouTubeAPI} from '../utils/youtubeApi';
|
|||
import {getSubmissionUUID} from '../utils/getSubmissionUUID';
|
||||
import fetch from 'node-fetch';
|
||||
import isoDurations from 'iso8601-duration';
|
||||
import fetch from 'node-fetch';
|
||||
import {getHash} from '../utils/getHash';
|
||||
import {getIP} from '../utils/getIP';
|
||||
import {getFormattedTime} from '../utils/getFormattedTime';
|
||||
|
|
|
@ -46,7 +46,7 @@ function dispatchEvent(scope: string, data: any): void {
|
|||
})
|
||||
.catch(err => {
|
||||
Logger.warn('Couldn\'t send webhook to ' + webhook.url);
|
||||
Logger.warn(e.message);
|
||||
Logger.warn(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue