Skip to content

Commit

Permalink
change sortDirection type from string to orderDirection (#5039)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampbell2 authored Jan 5, 2024
1 parent b98c2e1 commit 9ec9cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/organization/objects/organization.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { affiliationConnection } from '../../affiliation/objects'
import { domainOrder, domainFilter } from '../../domain/inputs'
import { domainConnection } from '../../domain/objects'
import { logActivity } from '../../audit-logs'
import { PeriodEnums } from '../../enums'
import { OrderDirection, PeriodEnums } from '../../enums'
import { orgSummaryConnection } from './organization-summary-connection'

export const organizationType = new GraphQLObjectType({
Expand Down Expand Up @@ -85,7 +85,7 @@ export const organizationType = new GraphQLObjectType({
description: 'The year in which the returned data is relevant to.',
},
sortDirection: {
type: GraphQLString,
type: new GraphQLNonNull(OrderDirection),
description: 'The direction in which to sort the data.',
},
},
Expand Down

0 comments on commit 9ec9cf9

Please sign in to comment.