diff --git a/util/conv/conv.go b/util/conv/conv.go index 2f395e99..a737f5fa 100644 --- a/util/conv/conv.go +++ b/util/conv/conv.go @@ -292,7 +292,7 @@ func ConvertToRecord(obj interface{}, tb string) (val *sql.Thing, err error) { default: err = fmt.Errorf("Expected a record of type '%s', but found '%v'", tb, obj) case "": - err = fmt.Errorf("Expected a record of any type, but found '%v'", tb, obj) + err = fmt.Errorf("Expected a record of any type, but found '%v'", obj) } } return diff --git a/util/fake/web.go b/util/fake/web.go index 20a2f7bc..a2a1ab9d 100644 --- a/util/fake/web.go +++ b/util/fake/web.go @@ -25,7 +25,7 @@ func Avatar() string { } func (f *Faker) Avatar() string { - return fmt.Sprintf("%s%d", + return fmt.Sprintf("%s%s", "https://www.gravatar.com/avatar/", f.StringLength(32), )