remove console.log
This commit is contained in:
parent
f0d11b9cdb
commit
67a6cb5f23
@ -9,7 +9,6 @@
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
try {
|
try {
|
||||||
const note: EncryptedNote = await response.json();
|
const note: EncryptedNote = await response.json();
|
||||||
console.log(note.expire_time);
|
|
||||||
note.insert_time = new Date(note.insert_time as unknown as string);
|
note.insert_time = new Date(note.insert_time as unknown as string);
|
||||||
note.expire_time = new Date(note.expire_time as unknown as string);
|
note.expire_time = new Date(note.expire_time as unknown as string);
|
||||||
const maxage = Math.floor((note.expire_time.valueOf() - note.insert_time.valueOf()) / 1000);
|
const maxage = Math.floor((note.expire_time.valueOf() - note.insert_time.valueOf()) / 1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user