Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmacioro committed Dec 18, 2024
1 parent ecd711d commit 85e4105
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class AppApiHttpService(
processService
.getLatestProcessesWithDetails(
ScenarioQuery.unarchivedProcesses,
GetScenarioWithDetailsOptions.withsScenarioGraph.withValidation
GetScenarioWithDetailsOptions.withScenarioGraph.withValidation
)
.map { processes =>
processes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,12 @@ class ProcessesResources(
thisVersion <- processService.getProcessWithDetails(
processId,
thisVersion,
GetScenarioWithDetailsOptions.withsScenarioGraph
GetScenarioWithDetailsOptions.withScenarioGraph
)
otherVersion <- processService.getProcessWithDetails(
processId,
otherVersion,
GetScenarioWithDetailsOptions.withsScenarioGraph
GetScenarioWithDetailsOptions.withScenarioGraph
)
} yield ScenarioGraphComparator.compare(thisVersion.scenarioGraphUnsafe, otherVersion.scenarioGraphUnsafe)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RemoteEnvironmentResources(
for {
processes <- processService.getLatestProcessesWithDetails(
ScenarioQuery.unarchived,
GetScenarioWithDetailsOptions.withsScenarioGraph
GetScenarioWithDetailsOptions.withScenarioGraph
)
comparison <- compareProcesses(processes)
} yield NuDesignerErrorToHttp.toResponseEither(comparison)
Expand Down Expand Up @@ -137,7 +137,7 @@ class RemoteEnvironmentResources(
.getProcessWithDetails(
processIdWithName,
version,
GetScenarioWithDetailsOptions.withsScenarioGraph
GetScenarioWithDetailsOptions.withScenarioGraph
)
.flatMap(fun)
.map(NuDesignerErrorToHttp.toResponseEither[T])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ object ProcessService {
val detailsOnly: GetScenarioWithDetailsOptions =
new GetScenarioWithDetailsOptions(SkipScenarioGraph, fetchState = false)

val withsScenarioGraph: GetScenarioWithDetailsOptions =
val withScenarioGraph: GetScenarioWithDetailsOptions =
new GetScenarioWithDetailsOptions(FetchScenarioGraph(), fetchState = false)

val withoutAdditionalFields: GetScenarioWithDetailsOptions =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object UsageStatisticsReportsSettingsService extends LazyLogging {
processService
.getLatestProcessesWithDetails(
ScenarioQuery.unarchived,
GetScenarioWithDetailsOptions.withsScenarioGraph.withFetchState
GetScenarioWithDetailsOptions.withScenarioGraph.withFetchState
)(user)
.map { scenariosDetails =>
Right(
Expand Down

0 comments on commit 85e4105

Please sign in to comment.