Skip to content

Commit 63d53f4

Browse files
committed
Merge pull request appium#22 from sourishkrout/master
Getting flick to do its work.
2 parents bb1ba0f + cb3297d commit 63d53f4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/controller.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,9 @@ exports.getScreenshot = function(req, res) {
342342
};
343343

344344
exports.flick = function(req, res) {
345-
var sessionid = req.params.sessionid
346-
, swipe = req.params.swipe
347-
, xSpeed = req.params.xSpeed
348-
, ySpeed = req.params.ySpeed
345+
var swipe = req.body.swipe
346+
, xSpeed = req.body.xspeed
347+
, ySpeed = req.body.yspeed
349348
, status = 0;
350349

351350
req.device.flick(xSpeed, ySpeed, swipe, function(err, result) {

0 commit comments

Comments
 (0)