typo
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5288f96836
commit
aa2d3be451
|
@ -139,7 +139,7 @@ module.exports = Self => {
|
||||||
await axios.post(uploadUri, data, uploadOptions);
|
await axios.post(uploadUri, data, uploadOptions);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const $t = ctx.req.__;
|
const $t = ctx.req.__;
|
||||||
const message = $t('Failed to upload ticket', {id});
|
const message = $t('Failed to upload delivery note', {id});
|
||||||
if (uploaded.length)
|
if (uploaded.length)
|
||||||
await models.TicketTracking.setDelivered(ctx, uploaded);
|
await models.TicketTracking.setDelivered(ctx, uploaded);
|
||||||
throw new UserError(message);
|
throw new UserError(message);
|
||||||
|
|
Loading…
Reference in New Issue