remove log
This commit is contained in:
parent
ac0636e7e9
commit
6e0eeb652b
|
@ -3,7 +3,6 @@ package cache
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"log"
|
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/Selly-Modules/logger"
|
"github.com/Selly-Modules/logger"
|
||||||
|
@ -47,11 +46,6 @@ func Roles() {
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Println("set role", CachedRole{
|
|
||||||
Role: role.Code,
|
|
||||||
IsAdmin: role.IsAdmin,
|
|
||||||
Permissions: rolePermissions,
|
|
||||||
}) // TODO remove
|
|
||||||
}(value)
|
}(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,6 +68,5 @@ func GetCachedRole(key string) CachedRole {
|
||||||
"err": err.Error(),
|
"err": err.Error(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
log.Println("get role", cachedRole) // TODO remove
|
|
||||||
return cachedRole
|
return cachedRole
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue