Merge pull request #2419 from appwrite/update-file-tokens-docs-link

This commit is contained in:
Darshan
2025-10-06 11:04:53 +05:30
committed by GitHub
@@ -70,15 +70,15 @@
</Confirm>
{:else}
<Modal bind:show size="s" onSubmit={handleFileToken} title={getModalTitle()}>
<!-- TODO: docs link needed-->
<svelte:fragment slot="description">
{#if fileToken}
{@const formattedDate = cleanFormattedDate(fileToken.$createdAt)}
Edit the expiry of the file token created on <b>{formattedDate}</b>.
{:else}
Create a file token to grant access to a file.
<!-- TODO: @itznotabug, @adityaoberai need documentations link -->
<Link.Anchor href="https://appwrite.com/docs/">Learn more</Link.Anchor>.
<Link.Anchor href="https://appwrite.io/docs/products/storage/file-tokens"
>Learn more</Link.Anchor
>.
{/if}
</svelte:fragment>