thiagoelg commented on code in PR #3119:
URL:
https://github.com/apache/incubator-kie-tools/pull/3119#discussion_r2078287002
##########
packages/online-editor/src/accelerators/AcceleratorsHooks.tsx:
##########
@@ -128,7 +128,14 @@ export function useAcceleratorsDispatch(workspace:
ActiveWorkspace) {
}, [workspace.descriptor.workspaceId, workspaces]);
const applyAcceleratorToWorkspace = useCallback(
- async (accelerator: AcceleratorConfig, currentFile: WorkspaceFile) => {
+ async (
+ accelerator: AcceleratorConfig,
+ currentFile: WorkspaceFile,
+ authInfo: {
Review Comment:
`authInfo` can be optional here, right? In the case that the Accelerator is
hosted in a public repository (and there's no AuthSession selected in the
dropdown)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]