Stripe integration flow
This commit is contained in:
@@ -37,6 +37,8 @@ export default class Database {
|
||||
return model.indices[1] - model.indices[0] + 1
|
||||
}
|
||||
|
||||
// add a get in here that returns a safe copy, not the actual reference
|
||||
|
||||
addNode(prefix, node) {
|
||||
try {
|
||||
let model = nodeModels[prefix]
|
||||
@@ -76,7 +78,8 @@ export default class Database {
|
||||
}
|
||||
}
|
||||
|
||||
editNode(prefix, id, toEdit) {
|
||||
updateNode(prefix, id, toEdit) {
|
||||
console.log("update node, ", toEdit)
|
||||
try {
|
||||
let model = nodeModels[prefix]
|
||||
if(model) {
|
||||
|
||||
Reference in New Issue
Block a user