Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aron123 committed Aug 29, 2019
1 parent e02c31a commit ab56dc3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/barion.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Barion.prototype.captureAuthorizedPayment = function (options, callback) {
* Cancels a previously authorized delayed capture payment.
* @param {Object} options - Options that are required to cancel the payment.
* @param {Function} [callback] - Callback that handles the response. If not passed, the function returns a *Promise*.
* @see {@link https://docs.barion.com/Payment-CancelAuthorization-v2|Barion API Documentation}
* @see {@link https://docs.barion.com/Payment-CancelAuthorization-v2|Barion API Documentation}
*/
Barion.prototype.cancelAuthorizedPayment = function (options, callback) {
return doRequestAndReturn({
Expand Down
4 changes: 2 additions & 2 deletions lib/domain/CancelAuthorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { CaseInsensitiveSchema } = require('../schema');

/**
* Used to cancel an existing, previously authorized payment.
*
*
* @see {@link https://docs.barion.com/Payment-CancelAuthorization-v2|Barion API Documentation}
*/
const schema = Joi.object({
Expand All @@ -13,4 +13,4 @@ const schema = Joi.object({
.guid()
});

module.exports = new CaseInsensitiveSchema(schema);
module.exports = new CaseInsensitiveSchema(schema);
2 changes: 1 addition & 1 deletion lib/domain/CapturePayment.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const TransactionToFinish = require('./common/TransactionToFinish');

/**
* Used to capture (finish) an existing, previously authorized payment.
*
*
* @see {@link https://docs.barion.com/Payment-Capture-v2|Barion API Documentation}
*/
const schema = Joi.object({
Expand Down
2 changes: 1 addition & 1 deletion lib/domain/StartPayment.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const schema = Joi.object({
.when('RecurrenceId', {
is: Joi.exist(),
then: Joi.optional(), // required just for 3DS compliance
otherwise: Joi.forbidden()
otherwise: Joi.forbidden()
}),
RedirectUrl: Joi.string().optional()
.uri(),
Expand Down

0 comments on commit ab56dc3

Please sign in to comment.