Removed post.user variable.

This commit is contained in:
2024-09-11 05:16:58 +02:00
parent e1a57a07a3
commit 9140b58c70
4 changed files with 18 additions and 22 deletions

View File

@@ -1,11 +1,9 @@
'use strict';
'use strict';
const util = require('util');
const config = require('config');
const fetch = require('node-fetch');
function self(host, post) {
console.log(post);
function self(post) {
return Promise.resolve({
return {
album: null,
items: [{
id: post.id,
@@ -15,9 +13,9 @@ function self(post) {
datetime: post.datetime,
type: 'text/plain',
self: true,
original: post
original: post,
}]
});
};
};
}
module.exports = self;