Skip to content

Commit 27e62ff

Browse files
committed
#747 | correct BadRequestError string for bySyncConcept
1 parent 479dcb8 commit 27e62ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avni-server-api/src/main/java/org/avni/server/web/SubjectMigrationController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public ResponseEntity migrate(@RequestParam(value = "mode", defaultValue = "byAd
126126
}
127127
if (mode == SubjectMigrationService.BulkSubjectMigrationModes.bySyncConcept
128128
&& (bulkSubjectMigrationRequest.getDestinationSyncConcepts() == null || bulkSubjectMigrationRequest.getDestinationSyncConcepts().isEmpty())) {
129-
throw new BadRequestError("destinationSyncConcepts is required for mode: bySyncConcepts");
129+
throw new BadRequestError("destinationSyncConcepts is required for mode: bySyncConcept");
130130
}
131131

132132
UserContext userContext = UserContextHolder.getUserContext();

0 commit comments

Comments
 (0)