Skip to content

Commit

Permalink
Merge pull request #148 from usegraffy/aravindet-reflected-xss
Browse files Browse the repository at this point in the history
Update httpServer.js
  • Loading branch information
aravindet authored Oct 20, 2023
2 parents 6045669 + 6c2271a commit 107fd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/httpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function server(store, { auth } = {}) {
try {
const op = parsed.query.op;
if (op !== 'write' && op !== 'read') {
throw Error(`httpServer.unsupported_op: ${op}`);
throw Error('httpServer.unsupported_op');
}

const chunks = [];
Expand Down

0 comments on commit 107fd5d

Please sign in to comment.