From ff8c2184f657aa76b75dc19744c494d65d78904b Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 28 Sep 2022 14:59:30 +0200 Subject: [PATCH] Convert applink ts to timestamp --- src/applinks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applinks.js b/src/applinks.js index e7181a88d..72cf26e5d 100644 --- a/src/applinks.js +++ b/src/applinks.js @@ -35,6 +35,8 @@ function postProcess(result) { if (result.accessRestriction && !result.accessRestriction.users) result.accessRestriction.users = []; delete result.accessRestrictionJson; + result.ts = new Date(result.ts).getTime(); + result.icon = result.icon ? result.icon : null; }