Skip to content

Commit 8d93a2e

Browse files
authored
fix: fix for incorrect endpoint value (#2275)
1 parent 3090771 commit 8d93a2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

oracle-api/src/main/java/ca/bc/gov/oracleapi/endpoint/consep/PurityTestsEndpoint.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public List<Integer> deleteReplicates(
378378
* @return the {@link PurityDebrisDto} updated
379379
*/
380380
@PatchMapping(
381-
value = "debris/{riaKey}",
381+
value = "/debris/{riaKey}",
382382
consumes = "application/json",
383383
produces = "application/json")
384384
@Operation(
@@ -391,6 +391,7 @@ public List<Integer> deleteReplicates(
391391
@ApiResponse(responseCode = "400", description = "Invalid object"),
392392
@ApiResponse(responseCode = "404", description = "Replicate not found")
393393
})
394+
@RoleAccessConfig({ "SPAR_TSC_SUBMITTER", "SPAR_TSC_SUPERVISOR" })
394395
public List<PurityDebrisDto> updateDebrisField(
395396
@Parameter(
396397
name = "riaKey",

0 commit comments

Comments
 (0)