From 72d0cbb7be1b72eeb7a50cb9b29a2bf75ec0ee53 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 27 Jan 2025 15:48:09 +0800 Subject: [PATCH] :bug: Fix JetStream invalid stream name --- pkg/internal/gap/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/gap/server.go b/pkg/internal/gap/server.go index 5c96508..f522205 100644 --- a/pkg/internal/gap/server.go +++ b/pkg/internal/gap/server.go @@ -69,7 +69,7 @@ func InitializeToNexus() error { } jetstreamCfg := &nats.StreamConfig{ - Name: "Passport OTPs", + Name: "OTPs", Subjects: []string{FactorOtpPrefix + ">"}, Storage: nats.MemoryStorage, MaxAge: 5 * time.Minute,