We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b404f6c commit 827e37cCopy full SHA for 827e37c
lib/utils/Helper/index.js
@@ -12,8 +12,8 @@ const UnauthorizedError = require('../errors/UnauthorizedError')
12
class Helper {
13
/**
14
* @static
15
- * @param {*} payload - The payload to be verified.
16
- * @param {*} signature - The signature to compare with
+ * @param {object} payload - The payload to be verified.
+ * @param {string} signature - The signature to compare with
17
* @returns { Boolean } - True if same signature otherwise false
18
* @memberof Helper
19
*/
@@ -25,6 +25,7 @@ class Helper {
25
*
26
* @param {object} error - The error object
27
* @returns {Object} - The an error instance
28
+ * @memberof Helper
29
30
static processError (error) {
31
switch (error.response.status) {
0 commit comments