• opalmer's avatar
    fix panic when []OptionFunc contains nil (#263) · ed51058e
    opalmer authored
    NewRequest() can potentially be called with a
    nil value present in []OptionFunc. For example
    this code would trigger a panic prior to this
    commit:
    
      _, _, err := git.Users.ModifyUser(event.UserId, options, nil)
    ed51058e
gitlab.go 18.3 KB