refs #5595 added userId in makeInvoice
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-05-30 10:49:10 +02:00
parent e05d3b0793
commit 632662c440
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ module.exports = function(Self) {
const date = Date.vnNew();
date.setHours(0, 0, 0, 0);
const myOptions = {userId};
const myOptions = {userId: ctx.req.accessToken.userId};
let tx;
if (typeof options == 'object')