Skip to content

Commit

Permalink
Merge pull request #17 from danielpetri1/patch-1
Browse files Browse the repository at this point in the history
Prevent proxy lock when used by different pads
  • Loading branch information
prlanzarin authored Nov 8, 2022
2 parents 2772246 + d024ff9 commit dd46256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ proxy.on('proxyReq', (proxyReq, req) => {
const web = (req, res) => {
const { padId } = req.params;
const { groupId } = parsePadId(padId);
api.call('createAuthor', { name: 'proxy' }).then(response => {
api.call('createAuthor', { name: `proxy-${padId}` }).then(response => {
const authorId = response.authorID;
logger.trace(ids.USER, 'created', { groupId, authorId });
api.call('createSession', {
Expand Down

0 comments on commit dd46256

Please sign in to comment.