Some newlines would make this more readable:

```ruby
return failure(:no_name_given) if inputs[:name].nil?

verify_user = Timeline.db.get_user(user_id)
return failure(:invalid_user_id) if verify_user.nil?

verify_team = Timeline.db.get_team(team_id)
return failure(:invalid_team_id) if verify_team.nil?
```