init push
This commit is contained in:
11
internal/repository/mysql/actor_user.go
Normal file
11
internal/repository/mysql/actor_user.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package mysql
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"wucher/internal/shared/pkg/appctx"
|
||||
)
|
||||
|
||||
func actorUserIDFromContext(ctx context.Context) []byte {
|
||||
return appctx.GetUserID(ctx)
|
||||
}
|
||||
Reference in New Issue
Block a user