mirror of
https://github.com/anatolykopyl/vk-nft-feed.git
synced 2026-03-26 12:54:33 +00:00
Renamed file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import getPosts from './getPosts.js';
|
||||
import post2Svg from './post2Svg.js';
|
||||
import postToImage from './postToImage.js';
|
||||
|
||||
function filterPosts(posts) {
|
||||
return posts.filter((post) => {
|
||||
@@ -21,9 +21,9 @@ export default async function(owner_id) {
|
||||
|
||||
let images = [];
|
||||
|
||||
posts.forEach((post) => {
|
||||
images.push(post2Svg(post));
|
||||
})
|
||||
for (const post of posts) {
|
||||
images.push(await postToImage(post));
|
||||
}
|
||||
|
||||
return images;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user