From e31e8bd27fc908564cee9349c2d07a72cea2eeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Abadesso?= Date: Thu, 25 Jan 2024 08:56:15 -0300 Subject: [PATCH] docs: updated example docstring Co-authored-by: Pedro Ferreira --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 9e57776..ff0e792 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -21,7 +21,7 @@ import { IContext } from '../types'; * Given a URL 'http://example.com' and a context object * { appName: 'wallet-mobile', clientKey: 'key', properties: { x: 'foo', y: 'bar' } }, * this function will return a new URL: - * 'http://example.com?appName=wallet-mobile&clientKey=&properties[x]=foo&properties[y]=bar'. + * 'http://example.com?appName=wallet-mobile&clientKey=key&properties[x]=foo&properties[y]=bar'. */ export const urlWithContextAsQuery = (url: URL, context: IContext): URL => { const notNullOrUndefined = ([, value]: [string, string]) =>