Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktavious committed Jan 29, 2025
1 parent fea417c commit 7fe464e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,7 @@ var AllFrequencyTimeScale = []string{
// HasDocumentationSubtypeEnum The subtype of the document
type HasDocumentationSubtypeEnum string

var (
HasDocumentationSubtypeEnumOpenapi HasDocumentationSubtypeEnum = "openapi" // Document is an OpenAPI document
)
var HasDocumentationSubtypeEnumOpenapi HasDocumentationSubtypeEnum = "openapi" // Document is an OpenAPI document

// All HasDocumentationSubtypeEnum as []string
var AllHasDocumentationSubtypeEnum = []string{
Expand Down Expand Up @@ -686,9 +684,7 @@ var AllPackageManagerEnum = []string{
// PayloadFilterEnum Fields that can be used as part of filters for payloads
type PayloadFilterEnum string

var (
PayloadFilterEnumIntegrationID PayloadFilterEnum = "integration_id" // Filter by `integration` field. Note that this is an internal id, ex. "123"
)
var PayloadFilterEnumIntegrationID PayloadFilterEnum = "integration_id" // Filter by `integration` field. Note that this is an internal id, ex. "123"

// All PayloadFilterEnum as []string
var AllPayloadFilterEnum = []string{
Expand Down Expand Up @@ -1190,9 +1186,7 @@ var AllUsersFilterEnum = []string{
// UsersInviteScopeEnum A classification of users to invite
type UsersInviteScopeEnum string

var (
UsersInviteScopeEnumPending UsersInviteScopeEnum = "pending" // All users who have yet to log in to OpsLevel for the first time
)
var UsersInviteScopeEnumPending UsersInviteScopeEnum = "pending" // All users who have yet to log in to OpsLevel for the first time

// All UsersInviteScopeEnum as []string
var AllUsersInviteScopeEnum = []string{
Expand Down
2 changes: 1 addition & 1 deletion team.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func (client *Client) DeleteTeam(identifier string) error {

func (client *Client) RemoveMemberships(team *TeamId, memberships ...TeamMembershipUserInput) ([]User, error) {
var m struct {
Payload struct { //TODO: need to fix this
Payload struct { // TODO: need to fix this
Members []User `graphql:"deletedMembers"`
Errors []Error
} `graphql:"teamMembershipDelete(input: $input)"`
Expand Down

0 comments on commit 7fe464e

Please sign in to comment.