Compare commits

..

2 Commits

Author SHA1 Message Date
e0f5f241b9 test(dillydallying): testing the ci workflow 2026-05-23 22:06:42 +02:00
60f52f9851 add ci (#1)
* ci(checks): add pull request workflow and golangci-lint config

* refactor(lint): resolve golangci-lint findings

* style(tui): drop traling blank line for gofmt

* fix(cards): handle crypto/rand.Read error in storeRedirect
2026-05-23 21:43:30 +02:00

View File

@@ -180,7 +180,7 @@ func (h *CardHandler) CollectCard(w http.ResponseWriter, r *http.Request) {
// SaveCardRequest holds the raw card fields submitted by the TUI. // SaveCardRequest holds the raw card fields submitted by the TUI.
// Tokenization happens server-side so the Stripe secret key never // Tokenization happens server-side so the Stripe secret key never
// touches the SSH client or TUI layer. // touches the SSH client or TUI layer..
type SaveCardRequest struct { type SaveCardRequest struct {
Token string `json:"token"` Token string `json:"token"`
} }