working on printable PDF Forms
All checks were successful
Tests / Run Go Tests (push) Successful in 30s
All checks were successful
Tests / Run Go Tests (push) Successful in 30s
This commit is contained in:
@@ -22,7 +22,7 @@ type User struct {
|
||||
Overtime time.Duration
|
||||
}
|
||||
|
||||
func (u *User) GetUserFromSession(Session *scs.SessionManager, ctx context.Context) (User, error) {
|
||||
func GetUserFromSession(Session *scs.SessionManager, ctx context.Context) (User, error) {
|
||||
var user User
|
||||
var err error
|
||||
if helper.GetEnv("GO_ENV", "production") == "debug" {
|
||||
|
||||
Reference in New Issue
Block a user