Skip to content
Permalink
Browse files

Use correct var when returning updated certificate

  • Loading branch information...
Jamie Curnow
Jamie Curnow committed May 9, 2019
1 parent 3885c0a commit 06272d3d2cf99507b353e82af5822926bdca0f5a
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/backend/internal/audit-log.js
  2. +1 −1 src/backend/internal/certificate.js
@@ -44,9 +44,9 @@ const internalAuditLog = {
* @param {Access} access
* @param {Object} data
* @param {String} data.action
* @param {Integer} [data.user_id]
* @param {Integer} [data.object_id]
* @param {Integer} [data.object_type]
* @param {Number} [data.user_id]
* @param {Number} [data.object_id]
* @param {Number} [data.object_type]
* @param {Object} [data.meta]
* @returns {Promise}
*/
@@ -766,7 +766,7 @@ const internalCertificate = {
meta: updated_certificate
})
.then(() => {
return certificate;
return updated_certificate;
});
})
} else {

0 comments on commit 06272d3

Please sign in to comment.
You can’t perform that action at this time.