From 3fd5152a2a8d78ec912bf7fbbbd2a2fffb60eed7 Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Fri, 1 Nov 2024 12:41:05 +0100 Subject: [PATCH] Update docs --- src/immich.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/immich.ts b/src/immich.ts index 3be18df..e59c23f 100644 --- a/src/immich.ts +++ b/src/immich.ts @@ -208,7 +208,9 @@ class Immich { } /** - * Check if a provided key matches the Immich shared-link key format + * Check if a provided key matches the Immich shared-link key format. + * It appears that the key is always 67 chars long, but since I don't know that this + * will always be the case, I've left it open-ended. */ isKey (key: string) { return !!key.match(/^[\w-]+$/)