Browse Source

logs

push-params
Evan Feenstra 4 years ago
parent
commit
7fbfd4f3b4
  1. 4
      api/controllers/actions.ts
  2. 2
      api/network/send.ts
  3. 4
      dist/api/controllers/actions.js
  4. 2
      dist/api/controllers/actions.js.map
  5. 2
      dist/api/network/send.js
  6. 2
      dist/api/network/send.js.map

4
api/controllers/actions.ts

@ -178,8 +178,8 @@ export async function finalActionProcess(a:Action){
message: { content: textMap, id: message.id, uuid: message.uuid },
type: constants.message_types.message,
success: () => ({ success: true }),
failure: () => {
throw 'publish failed'
failure: (e) => {
throw e
}
})
} else {

2
api/network/send.ts

@ -18,7 +18,7 @@ export async function sendMessage(params) {
const { type, chat, message, sender, amount, success, failure, skipPubKey } = params
let msg = newmsg(type, chat, sender, message)
// console.log("=> MSG TO SEND",msg)
console.log("=> MSG TO SEND",msg)
// console.log(type,message)
if(!(sender&&sender.publicKey)) {

4
dist/api/controllers/actions.js

@ -186,8 +186,8 @@ function finalActionProcess(a) {
message: { content: textMap, id: message.id, uuid: message.uuid },
type: constants.message_types.message,
success: () => ({ success: true }),
failure: () => {
throw 'publish failed';
failure: (e) => {
throw e;
}
});
}

2
dist/api/controllers/actions.js.map

File diff suppressed because one or more lines are too long

2
dist/api/network/send.js

@ -24,7 +24,7 @@ function sendMessage(params) {
return __awaiter(this, void 0, void 0, function* () {
const { type, chat, message, sender, amount, success, failure, skipPubKey } = params;
let msg = newmsg(type, chat, sender, message);
// console.log("=> MSG TO SEND",msg)
console.log("=> MSG TO SEND", msg);
// console.log(type,message)
if (!(sender && sender.publicKey)) {
console.log("NO SENDER?????");

2
dist/api/network/send.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save