chore: update
This commit is contained in:
@@ -8,6 +8,7 @@ import jakarta.enterprise.context.ApplicationScoped;
|
||||
import jakarta.transaction.Transactional;
|
||||
import jakarta.ws.rs.*;
|
||||
import jakarta.ws.rs.core.*;
|
||||
import java.util.UUID;
|
||||
import org.eclipse.microprofile.reactive.messaging.*;
|
||||
|
||||
@Path(Role.Manager)
|
||||
@@ -65,4 +66,10 @@ public class ManagerService extends BaseService<ManagerEntity> {
|
||||
.entity(manager)
|
||||
.build();
|
||||
}
|
||||
|
||||
@GET
|
||||
@Path("/{id}")
|
||||
public Response getManagerById(@PathParam("id") UUID id) {
|
||||
return Response.ok(ManagerEntity.findById(id)).build();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user