Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyTVu committed Feb 22, 2024
1 parent da55e92 commit c0efb64
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions graphql2/graphqlapp/destinationtypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (q *Query) DestinationFieldValueName(ctx context.Context, input graphql2.De

func (q *Query) DestinationFieldSearch(ctx context.Context, input graphql2.DestinationFieldSearchInput) (*graphql2.FieldValueConnection, error) {
favFirst := true

switch input.FieldID {
case fieldSlackChanID:
res, err := q.SlackChannels(ctx, &graphql2.SlackChannelSearchOptions{
Expand Down Expand Up @@ -424,10 +424,10 @@ func (q *Query) DestinationTypes(ctx context.Context) ([]graphql2.DestinationTyp
}},
},
{
Type: destRotation,
Name: "Rotation",
Enabled: true,
IsEPTarget: true,
Type: destRotation,
Name: "Rotation",
Enabled: true,
IsEPTarget: true,
RequiredFields: []graphql2.DestinationFieldConfig{{
FieldID: fieldRotationID,
LabelSingular: "Rotation",
Expand All @@ -437,11 +437,11 @@ func (q *Query) DestinationTypes(ctx context.Context) ([]graphql2.DestinationTyp
}},
},
{
Type: destSchedule,
Name: "Schedule",
Enabled: true,
IsEPTarget: true,
IsSchedOnCallNotify: true,
Type: destSchedule,
Name: "Schedule",
Enabled: true,
IsEPTarget: true,
IsSchedOnCallNotify: true,
RequiredFields: []graphql2.DestinationFieldConfig{{
FieldID: fieldScheduleID,
LabelSingular: "Schedule",
Expand All @@ -451,11 +451,11 @@ func (q *Query) DestinationTypes(ctx context.Context) ([]graphql2.DestinationTyp
}},
},
{
Type: destUser,
Name: "User",
Enabled: true,
IsEPTarget: true,
IsSchedOnCallNotify: true,
Type: destUser,
Name: "User",
Enabled: true,
IsEPTarget: true,
IsSchedOnCallNotify: true,
RequiredFields: []graphql2.DestinationFieldConfig{{
FieldID: fieldUserID,
LabelSingular: "User",
Expand Down

0 comments on commit c0efb64

Please sign in to comment.