Fix indentation of ProfileController#setProfile
This commit is contained in:
parent
bd5f5c407b
commit
c70fa48835
|
@ -193,8 +193,11 @@ public class ProfileController {
|
||||||
a.setCurrentProfileVersion(request.getVersion());
|
a.setCurrentProfileVersion(request.getVersion());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.isPresent()) return Response.ok(response).build();
|
if (response.isPresent()) {
|
||||||
else return Response.ok().build();
|
return Response.ok(response).build();
|
||||||
|
} else {
|
||||||
|
return Response.ok().build();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Timed
|
@Timed
|
||||||
|
|
Loading…
Reference in New Issue