DeleteReviewer#updateChange: Use database from context

Change-Id: If0dd9547e8fa40ff965fc4be4db4465d0486bc9a
This commit is contained in:
David Pursehouse
2016-07-25 11:03:14 +09:00
committed by Logan Hanks
parent 18af6cfdc4
commit 8cbe54eb97

View File

@@ -136,7 +136,7 @@ public class DeleteReviewer implements RestModifyView<ReviewerResource, Input> {
throw new ResourceNotFoundException();
}
currChange = ctx.getChange();
currPs = psUtil.current(dbProvider.get(), ctx.getNotes());
currPs = psUtil.current(ctx.getDb(), ctx.getNotes());
Set<String> placeholders = new HashSet<>();
LabelTypes labelTypes = ctx.getControl().getLabelTypes();