diff --git a/src/backend/internal/audit-log.js b/src/backend/internal/audit-log.js index 5f7f1da..52090eb 100644 --- a/src/backend/internal/audit-log.js +++ b/src/backend/internal/audit-log.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} */ diff --git a/src/backend/internal/certificate.js b/src/backend/internal/certificate.js index 56c8617..89d4976 100644 --- a/src/backend/internal/certificate.js +++ b/src/backend/internal/certificate.js @@ -766,7 +766,7 @@ const internalCertificate = { meta: updated_certificate }) .then(() => { - return certificate; + return updated_certificate; }); }) } else {