etsy: only generate linking urls upon demand

This commit is contained in:
2026-01-05 15:40:35 -07:00
parent 5b3a4b5468
commit 55a7fcfede
3 changed files with 130 additions and 89 deletions
@@ -12,7 +12,7 @@
{{- else }}
<h3>
{{/* TODO: create this link dynamically, not EVERYTIME THE PAGE IS LOADED */}}
<a href="{{ .Etsy.GenerateConnectionURLForNewAccount $acctID.ID }}">
<a href="{{ printf "/webhooks/etsy/%d/new-account-link" $acctID.ID }}">
Link Your Etsy Store!
</a>
</h3>