You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added "all" and "showonly" flags to occ app:update (#256)
They do almost the same like the original flags from Server repo with
one difference:
`--showonly` flag can be specified only with `--all` flag.
We can not easy make `--showonly` work for specified appid, cause we
support updating ExApps with specifyng `json` or `xml` and not only by
`appid`.
Signed-off-by: Alexander Piskun <[email protected]>
$this->logger->error(sprintf('Error during registering ExApp %s.', $appId));
@@ -144,8 +142,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
144
142
return3;
145
143
}
146
144
if (count($appInfo['external-app']['scopes']) > 0) {
147
-
if (!$this->exAppScopesService->registerExAppScopes($exApp, $appInfo['api_scopes'])
148
-
) {
145
+
if (!$this->exAppScopesService->registerExAppScopes($exApp, $this->exAppApiScopeService->mapScopeNamesToNumbers($appInfo['external-app']['scopes']))) {
149
146
$this->logger->error(sprintf('Error while registering API scopes for %s.', $appId));
150
147
if ($outputConsole) {
151
148
$output->writeln(sprintf('Error while registering API scopes for %s.', $appId));
0 commit comments