commit
011d788282
1 changed files with 11 additions and 2 deletions
|
|
@ -436,12 +436,14 @@ module.exports = async (
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
const feedObj = {
|
const feedObj = {
|
||||||
feed: [
|
feed: [
|
||||||
{
|
{
|
||||||
id:'bd7acbea-c1b1-46c2-aed5-3ad53abb28ba',
|
id:'bd7acbea-c1b1-46c2-aed5-3ad53abb28ba',
|
||||||
paragraphs:[
|
paragraphs:[
|
||||||
"SOme text and stuff 12"
|
"SOme text and stuff 12"
|
||||||
|
"SOme text and stuff"
|
||||||
],
|
],
|
||||||
profilePic:"",
|
profilePic:"",
|
||||||
username:"bobni",
|
username:"bobni",
|
||||||
|
|
@ -491,6 +493,13 @@ module.exports = async (
|
||||||
user.get("FEED_POC").put(JSON.stringify(feedObj), ack => {
|
user.get("FEED_POC").put(JSON.stringify(feedObj), ack => {
|
||||||
if (ack.err) {
|
if (ack.err) {
|
||||||
//rej(new Error(ack.err))
|
//rej(new Error(ack.err))
|
||||||
|
}*/
|
||||||
|
const feedObj = {
|
||||||
|
feed :{}
|
||||||
|
}
|
||||||
|
user.get("FEED_POC").put(feedObj, ack => {
|
||||||
|
if (ack.err) {
|
||||||
|
//rej(ack.err)
|
||||||
logger.log(ack.err)
|
logger.log(ack.err)
|
||||||
} else {
|
} else {
|
||||||
logger.log(ack.err)
|
logger.log(ack.err)
|
||||||
|
|
@ -1677,7 +1686,7 @@ module.exports = async (
|
||||||
res.json(channelBackups);
|
res.json(channelBackups);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
const GunEvent = Common.Constants.Event
|
const GunEvent = Common.Constants.Event
|
||||||
const Key = require('../services/gunDB/contact-api/key')
|
const Key = require('../services/gunDB/contact-api/key')
|
||||||
|
|
||||||
|
|
@ -1709,7 +1718,7 @@ module.exports = async (
|
||||||
})
|
})
|
||||||
|
|
||||||
const Events = require('../services/gunDB/contact-api/events')
|
const Events = require('../services/gunDB/contact-api/events')
|
||||||
|
|
||||||
app.get(`/api/gun/${GunEvent.ON_RECEIVED_REQUESTS}`, (_, res) => {
|
app.get(`/api/gun/${GunEvent.ON_RECEIVED_REQUESTS}`, (_, res) => {
|
||||||
try {
|
try {
|
||||||
// spinup
|
// spinup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue