Skip to content

Commit 97b8126

Browse files
authored
Fix javascript
1 parent 52cafdf commit 97b8126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-754/examples/UnvalidatedDynamicMethodCallGood.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ var express = require('express');
22
var app = express();
33

44
var actions = new Map();
5-
actions.put("play", function play(data) {
5+
actions.set("play", function play(data) {
66
// ...
77
});
8-
actions.put("pause", function pause(data) {
8+
actions.set("pause", function pause(data) {
99
// ...
1010
});
1111

0 commit comments

Comments
 (0)