diff options
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 6 |
1 files 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) |