Skip to content

Commit

Permalink
merge B-21348
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwc committed Feb 13, 2025
2 parents 1ee2e63 + 7261c53 commit 847a8b9
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 53 deletions.
14 changes: 4 additions & 10 deletions pkg/gen/ghcapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/handlers/ghcapi/queues.go
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ func (h SaveBulkAssignmentDataHandler) Handle(
return queues.NewGetServicesCounselingQueueInternalServerError(), err
}

return queues.NewSaveBulkAssignmentDataOK(), nil
return queues.NewSaveBulkAssignmentDataNoContent(), nil
})
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/handlers/ghcapi/queues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ func (suite *HandlerSuite) TestSaveBulkAssignmentDataHandler() {
}
response := handler.Handle(params)
suite.IsNotErrResponse(response)
suite.IsType(&queues.SaveBulkAssignmentDataOK{}, response)
suite.IsType(&queues.SaveBulkAssignmentDataNoContent{}, response)
})
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/services/move/move_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (f moveFetcherBulkAssignment) FetchMovesForBulkAssignmentPaymentRequest(app
sqlQuery := `
SELECT
moves.id,
COALESCE(MIN(payment_requests.requested_at), '0001-01-01') AS earliest_date
MIN(payment_requests.requested_at) AS earliest_date
FROM moves
INNER JOIN orders ON orders.id = moves.orders_id
INNER JOIN service_members ON orders.service_member_id = service_members.id
Expand Down
6 changes: 2 additions & 4 deletions swagger-def/ghc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3613,10 +3613,8 @@ paths:
schema:
$ref: '#/definitions/BulkAssignmentSavePayload'
responses:
'200':
description: Successfully returned bulk assignment data
schema:
$ref: '#/definitions/BulkAssignmentData'
'204':
description: assigned
'401':
$ref: '#/responses/PermissionDenied'
'404':
Expand Down
6 changes: 2 additions & 4 deletions swagger/ghc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3742,10 +3742,8 @@ paths:
schema:
$ref: '#/definitions/BulkAssignmentSavePayload'
responses:
'200':
description: Successfully returned bulk assignment data
schema:
$ref: '#/definitions/BulkAssignmentData'
'204':
description: assigned
'401':
$ref: '#/responses/PermissionDenied'
'404':
Expand Down

0 comments on commit 847a8b9

Please sign in to comment.