Skip to content

Commit 94b2ce0

Browse files
committed
frontProducer updated
1 parent 9a3617d commit 94b2ce0

File tree

199 files changed

+18637
-2312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+18637
-2312
lines changed

Diff for: .node-xmlhttprequest-content-27610

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"err":null,"data":{"statusCode":200,"headers":{"content-type":"application/json","date":"Sat, 06 Jul 2019 01:27:44 GMT","connection":"close","transfer-encoding":"chunked"},"text":"{\"id\":19,\"jsonrpc\":\"2.0\",\"result\":\"0x5e941bbe1751d4d727e28f1e386c8cab9003f65b688d17e5fb99a55c3ae8c6c9\"}"}}

Diff for: .node-xmlhttprequest-sync-28185

Whitespace-only changes.

Diff for: .node-xmlhttprequest-sync-8387

Whitespace-only changes.

Diff for: app/cl_web3.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Web3 = require("web3");
22

3-
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
3+
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:7545"));
44

55
module.exports = web3;

Diff for: dao/panelDao.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
return base.save(panel, panelModel);
77
},
88
update: function(panel, id) {
9+
console.log(panel), console.log(id);
910
return base.update(panel, id, panelModel);
1011
},
1112
findById: function(id) {

Diff for: dao/repository.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,7 @@ module.exports = {
4848
},
4949
//updating marque from database
5050
update: function(body, id, model) {
51-
model.findOneAndUpdate({ _id: id }, body, { new: true }, function(
52-
err,
53-
result
54-
) {
55-
if (err) {
56-
console.log(err);
57-
return err;
58-
} else {
59-
console.log(result);
60-
return result;
61-
}
62-
});
51+
return model.findOneAndUpdate({ _id: id }, body, { new: true });
6352
},
6453
//deleting marque from database
6554
remove: function(id, model) {

Diff for: frontProducer/node_modules/@ng-select/ng-select/README.md

+20-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)