mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-11 17:18:42 +00:00
bug fixes
This commit is contained in:
parent
cdb9bb90d5
commit
5820567c61
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
|||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
|
||||
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
|
||||
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||
|
|
|
|||
|
|
@ -207,9 +207,11 @@ final class ApiController extends Controller
|
|||
$doc->content = EncryptionHelper::encryptShared($doc->content, $_SERVER['OMS_PRIVATE_KEY_I']);
|
||||
}
|
||||
|
||||
/*
|
||||
if ($request->hasData('tags')) {
|
||||
$doc->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
||||
}
|
||||
*/
|
||||
|
||||
return $doc;
|
||||
}
|
||||
|
|
@ -365,7 +367,7 @@ final class ApiController extends Controller
|
|||
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
||||
virtualPath: '/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
||||
pathSettings: PathSettings::FILE_PATH,
|
||||
type: $request->getDataInt('type'),
|
||||
tag: $request->getDataInt('tag'),
|
||||
rel: (int) $request->getDataInt('doc'),
|
||||
mapper: EditorDocMapper::class,
|
||||
field: 'files'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user