typo
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-06-14 07:30:50 +02:00
parent 5288f96836
commit aa2d3be451
1 changed files with 1 additions and 1 deletions

View File

@ -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);