feat: failed to sync keycloak users in the PostgreSQL database (#886)

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
This commit is contained in:
Yixiang Zhao
2022-07-16 12:14:35 +08:00
committed by GitHub
parent 895cdd024d
commit 117dec4542
3 changed files with 20 additions and 6 deletions

View File

@ -52,8 +52,10 @@ func ParseFloat(s string) float64 {
}
func ParseBool(s string) bool {
if s == "\x01" {
if s == "\x01" || s == "true" {
return true
} else if s == "false" {
return false
}
i := ParseInt(s)