Skip to content

Commit

Permalink
Use correct var when returning updated certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Curnow committed May 9, 2019
1 parent 3885c0a commit 06272d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/backend/internal/audit-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand Down
2 changes: 1 addition & 1 deletion src/backend/internal/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ const internalCertificate = {
meta: updated_certificate
})
.then(() => {
return certificate;
return updated_certificate;
});
})
} else {
Expand Down

0 comments on commit 06272d3

Please sign in to comment.