vk-to-telegram
Advanced tools
Comparing version 0.4.3 to 0.4.4
18
index.js
@@ -6,3 +6,3 @@ const forwarder = require('./lib/forwarder') | ||
// const util = require('util') | ||
const herokuPosts = {} | ||
let herokuPosts = {} | ||
/* eslint standard/no-callback-literal:0, padded-blocks:0 */ | ||
@@ -101,5 +101,17 @@ | ||
} catch (e) { | ||
herokuPosts[originalUrl][newPost.owner][newPost.id] = { | ||
date: newPost.date | ||
herokuPosts = { | ||
...herokuPosts, | ||
[originalUrl]: { | ||
...herokuPosts[originalUrl], | ||
[newPost.owner]: { | ||
...herokuPosts[originalUrl][newPost.owner], | ||
[newPost.id]: { | ||
date: newPost.date | ||
} | ||
} | ||
} | ||
} | ||
// herokuPosts[originalUrl][newPost.owner][newPost.id] = { | ||
// date: newPost.date | ||
// } | ||
} | ||
@@ -106,0 +118,0 @@ if (post) { |
{ | ||
"name": "vk-to-telegram", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Vk to telegram forwarder", | ||
@@ -5,0 +5,0 @@ "author": "ejnshtein", |
@@ -59,3 +59,4 @@ # vk to telegram forwarder | ||
| [<img src="https://i.imgur.com/pra7Wez.jpg" height="120">](https://vk.com/tavernofoverwatch) | [<img src="https://i.imgur.com/2RR0fXh.png" height="120">](https://vk.com/panzer_sofa) | [<img src="https://i.imgur.com/51DrStx.jpg" height="120">](https://vk.com/oleglivanovgaming) | [<img src="https://i.imgur.com/FnBpfyl.jpg" height="120">](https://vk.com/ongoing_research) | | ||
| [<img src="https://i.imgur.com/UYV2cfV.png" height="120">](https://vk.com/advance_empire) | [<img src="https://i.imgur.com/2RR0fXh.png" height="120">](https://vk.com/panzer_sofa) | [<img src="https://i.imgur.com/51DrStx.jpg" height="120">](https://vk.com/oleglivanovgaming) | [<img src="https://i.imgur.com/FnBpfyl.jpg" height="120">](https://vk.com/ongoing_research) | | ||
|[<img src="https://i.imgur.com/7wydIxN.png" height="120">](https://vk.com/anireact)|[<img src="https://i.imgur.com/Y0kda79.png" height="120">](https://vk.com/otakusquad)|[<img src="https://i.imgur.com/yu6BNFj.png" height="120">](https://vk.com/dsgtng)|| | ||
|-|-|-|-| | ||
@@ -62,0 +63,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46829
1089
124