mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
Merge pull request #61 from ONLYOFFICE/feature/builder
changed docbuilder http error code from 403 to 402 in case of incorre…
This commit is contained in:
@ -231,7 +231,7 @@ if (cluster.isMaster) {
|
||||
const licenseInfo = docsCoServer.getLicenseInfo();
|
||||
if (licenseInfo.type !== constants.LICENSE_RESULT.Success) {
|
||||
logger.error('License expired');
|
||||
res.sendStatus(403);
|
||||
res.sendStatus(402);
|
||||
return;
|
||||
}
|
||||
converterService.builder(req, res);
|
||||
|
||||
Reference in New Issue
Block a user