Skip to content

Commit 827e37c

Browse files
Update JsDoc Helper
1 parent b404f6c commit 827e37c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/utils/Helper/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const UnauthorizedError = require('../errors/UnauthorizedError')
1212
class Helper {
1313
/**
1414
* @static
15-
* @param {*} payload - The payload to be verified.
16-
* @param {*} signature - The signature to compare with
15+
* @param {object} payload - The payload to be verified.
16+
* @param {string} signature - The signature to compare with
1717
* @returns { Boolean } - True if same signature otherwise false
1818
* @memberof Helper
1919
*/
@@ -25,6 +25,7 @@ class Helper {
2525
*
2626
* @param {object} error - The error object
2727
* @returns {Object} - The an error instance
28+
* @memberof Helper
2829
*/
2930
static processError (error) {
3031
switch (error.response.status) {

0 commit comments

Comments
 (0)