|
|
@@ -582,7 +582,7 @@ module.exports = (crowi) => {
|
|
|
try {
|
|
|
await crowi.configManager.updateConfigsInTheSameNamespace('crowi', requestAwsSettingParams, true);
|
|
|
await crowi.setUpFileUpload(true);
|
|
|
- crowi.fileUploadMessageService.publishUpdatedMessage();
|
|
|
+ crowi.fileUploaderSwitchService.publishUpdatedMessage();
|
|
|
|
|
|
const awsSettingParams = {
|
|
|
s3Region: crowi.configManager.getConfig('crowi', 'aws:s3Region'),
|
|
|
@@ -635,7 +635,7 @@ module.exports = (crowi) => {
|
|
|
try {
|
|
|
await crowi.configManager.updateConfigsInTheSameNamespace('crowi', requestGcpSettingParams, true);
|
|
|
await crowi.setUpFileUpload(true);
|
|
|
- crowi.fileUploadMessageService.publishUpdatedMessage();
|
|
|
+ crowi.fileUploaderSwitchService.publishUpdatedMessage();
|
|
|
|
|
|
const gcpSettingParams = {
|
|
|
gcsApiKeyJsonPath: crowi.configManager.getConfig('crowi', 'gcs:apiKeyJsonPath'),
|