You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
fix where, auth use request arg
This commit is contained in:
@ -2,7 +2,6 @@ package invite
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
@ -79,8 +78,6 @@ func ParseInviteHash(ctx context.Context, secretKey string, str string, now time
|
||||
}
|
||||
hashPts := strings.Split(hashStr, "|")
|
||||
|
||||
fmt.Println(hashPts)
|
||||
|
||||
var hash InviteHash
|
||||
if len(hashPts) == 5 {
|
||||
hash.UserID = hashPts[0]
|
||||
|
Reference in New Issue
Block a user