···15801580 forkName := f.Name
15811581 // this check is *only* to see if the forked repo name already exists
15821582 // in the user's account.
15831583- existingRepo, err := db.GetRepo(rp.db, user.Did, f.Name)
15831583+ existingRepo, err := db.GetRepo(
15841584+ rp.db,
15851585+ db.FilterEq("did", user.Did),
15861586+ db.FilterEq("name", f.Name),
15871587+ )
15841588 if err != nil {
15851589 if errors.Is(err, sql.ErrNoRows) {
15861590 // no existing repo with this name found, we can use the name as is