This commit is contained in:
Official Noob
2019-07-31 12:53:25 +01:00
committed by GitHub
parent 0d8c18a38a
commit e1dc5fbdf5

View File

@@ -593,7 +593,7 @@ EN_US.set(400, 'Server said this request was invalid"')
.set(429, 'You have submitted too many sponsor times for this one video, are you sure there are this many?')
.set(409, 'This has already been submitted before')
.set(502, 'It seems the server is down. Contact the dev to inform them.')
.set('Unknown', 'there was an error submitting your sponsor times, please try again later.');
.set('Unknown', 'There was an error submitting your sponsor times, please try again later.');
function ErrorParser (Lang, statusCode) {
if(Lang.has(statusCode)) return Lang.get(statusCode);