only lower id roles can be modfified, add new hub endpoints
This commit is contained in:
@@ -73,3 +73,7 @@ func StringToUuidSlice(uuidStr string) ([]uuid.UUID, error) {
|
||||
func StringToTimestamp(str string) (time.Time, error) {
|
||||
return time.Parse(time.RFC3339, str)
|
||||
}
|
||||
|
||||
func StringToBool(str string) bool {
|
||||
return strings.ToLower(str) == "true"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user