working commit
This commit is contained in:
@@ -10,9 +10,9 @@ import (
|
||||
"google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
func (hand *Handler) Authentificate(ctx context.Context) (int64, error) {
|
||||
func (hand *Handler) Authentificate(ctx context.Context) (string, error) {
|
||||
var err error
|
||||
var accountID int64
|
||||
var accountID string
|
||||
|
||||
meta, _ := metadata.FromIncomingContext(ctx)
|
||||
usernameArr := meta["username"]
|
||||
|
||||
Reference in New Issue
Block a user