From ac7115a2f5e668fb035ddb23068ccc03e18b7cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 30 May 2022 13:29:08 +0200 Subject: [PATCH] dev: fix return type of generateSignatureIfSecret --- private/dev/generateSignatureIfSecret.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/dev/generateSignatureIfSecret.js b/private/dev/generateSignatureIfSecret.js index 2f40ce20e5..cfc2bf892d 100644 --- a/private/dev/generateSignatureIfSecret.js +++ b/private/dev/generateSignatureIfSecret.js @@ -18,7 +18,7 @@ function getExpiration (future) { * * @param {string | undefined} secret * @param {object} params - * @returns {{ params: string, signature?: string }} + * @returns {Promise<{ params: string, signature?: string }>} */ export default async function generateSignatureIfSecret (secret, params) { let signature