From 14a9890dcea47776cd2fa328774cec7c2ad3dad0 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 28 Jan 2021 22:54:31 -0800 Subject: follow bug fix --- OutboxPost.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OutboxPost.go b/OutboxPost.go index 4ef58b3..235611e 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -97,7 +97,7 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { var verify Verify verify.Identifier = "admin" - verify.Board = activity.Actor.Id + verify.Board = Domain verify = GetVerificationCode(db, verify) @@ -141,9 +141,7 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { verify.Board = Domain verify = GetVerificationCode(db, verify) - - fmt.Println(verify.Code) - + code := verify.Code code = CreateTripCode(code) code = CreateTripCode(code) -- cgit v1.2.3