Skip to content

Commit 73ea092

Browse files
Merge pull request sailshq#1 from treelinehq/interface-tweaks
interface tweaks to match driver interface
2 parents 49803cc + 8286d7d commit 73ea092

File tree

5 files changed

+3
-11
lines changed

5 files changed

+3
-11
lines changed

machines/begin-transaction.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ module.exports = {
4949
outputVariableName: 'report',
5050
outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
5151
example: {
52-
error: '===',
5352
meta: '==='
5453
}
5554
}
@@ -69,9 +68,8 @@ module.exports = {
6968
error: function error(err) {
7069
return exits.error(err);
7170
},
72-
badConnection: function badConnection(report) {
71+
badConnection: function badConnection() {
7372
return exits.badConnection({
74-
error: report,
7573
meta: inputs.meta
7674
});
7775
},

machines/commit-transaction.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ module.exports = {
5252
outputVariableName: 'report',
5353
outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
5454
example: {
55-
error: '===',
5655
meta: '==='
5756
}
5857
}
@@ -72,9 +71,8 @@ module.exports = {
7271
error: function error(err) {
7372
return exits.error(err);
7473
},
75-
badConnection: function badConnection(report) {
74+
badConnection: function badConnection() {
7675
return exits.badConnection({
77-
error: report,
7876
meta: inputs.meta
7977
});
8078
},

machines/release-connection.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ module.exports = {
4646
outputVariableName: 'report',
4747
outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
4848
example: {
49-
error: '===',
5049
meta: '==='
5150
}
5251
}

machines/rollback-transaction.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ module.exports = {
5050
description: 'Additional stuff to pass to the driver.',
5151
extendedDescription: 'This is reserved for custom driver-specific extensions. Please refer to the documentation for the driver you are using for more specific information.',
5252
example: {
53-
error: '===',
5453
meta: '==='
5554
}
5655
}
@@ -70,9 +69,8 @@ module.exports = {
7069
error: function error(err) {
7170
return exits.error(err);
7271
},
73-
badConnection: function badConnection(report) {
72+
badConnection: function badConnection() {
7473
return exits.badConnection({
75-
error: report,
7674
meta: inputs.meta
7775
});
7876
},

machines/send-native-query.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ module.exports = {
6868
outputVariableName: 'report',
6969
outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
7070
example: {
71-
error: '===',
7271
meta: '==='
7372
}
7473
}

0 commit comments

Comments
 (0)