fixing v2 TTL

This commit is contained in:
El RIDO 2019-05-11 10:46:30 +02:00
parent 788ea67b49
commit 50af37507f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 3 additions and 3 deletions

View file

@ -1639,7 +1639,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
} else if (pasteMetaData.expire_date) {
// display paste expiration
let expiration = Helper.secondsToHuman(pasteMetaData.remaining_time),
let expiration = Helper.secondsToHuman(pasteMetaData.time_to_live || pasteMetaData.remaining_time),
expirationLabel = [
'This document will expire in %d ' + expiration[1] + '.',
'This document will expire in %d ' + expiration[1] + 's.'