set currentTask in addCustomer
This commit is contained in:
parent
595c11c7ac
commit
68dfadf0e2
@ -49,6 +49,7 @@ public class CustomerController implements CustomersApi {
|
|||||||
final String assumedRoles,
|
final String assumedRoles,
|
||||||
final CustomerResource customer) {
|
final CustomerResource customer) {
|
||||||
|
|
||||||
|
context.setCurrentTask("create new customer: #" + customer.getReference() + " / " + customer.getPrefix());
|
||||||
context.setCurrentUser(currentUser);
|
context.setCurrentUser(currentUser);
|
||||||
if (assumedRoles != null && !assumedRoles.isBlank()) {
|
if (assumedRoles != null && !assumedRoles.isBlank()) {
|
||||||
context.assumeRoles(assumedRoles);
|
context.assumeRoles(assumedRoles);
|
||||||
|
Loading…
Reference in New Issue
Block a user