Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fulup-bzh committed Nov 17, 2014
1 parent 93bea6e commit 297a202
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions smsc/bin/SendRecSms.js
Expand Up @@ -33,7 +33,7 @@

'use strict';

var GammuSms= require('../ApiExport').Gammu;
var GammuSms= require('../ApiExport').Client;
var jison = require("jison").Parser;
var path = require('path');

Expand Down Expand Up @@ -168,7 +168,8 @@ if (! cli.opts.help) {
gammu.DelById (DisplayResult, this.cli.smsid); // delete by ID
break;
case 'sendto': // --sendto=phonenumber --msg=xxxxxxxx
gammu.SendTo (DisplayResult, cli.opts.phone, cli.opts.msg);
var sms = {phone: cli.opts.phone, msg: cli.opts.msg};
gammu.SendTo (DisplayResult, sms);
break;
default:
console.log ("\nHoops unknown option=[%s] check --help]", cli.opts.action);
Expand Down
4 changes: 2 additions & 2 deletions smsc/package.json
@@ -1,7 +1,7 @@
{
"name" : "ggsmsc",
"description" : "GTSdtracking is an opensource GPS tracking server framework",
"version" : "0.1.0",
"version" : "0.1.2",
"author" : {
"name" : "Fulup Ar Foll",
"email" : "fulup@fridu.net",
Expand All @@ -12,7 +12,7 @@
"type" : "apache20"
},
"bin" : {
"DeviceSimulator" : "./apps/SendRecSms.js"
"SendRecSms" : "./bin/SendRecSms.js"
},
"dependencies" :
{"traceback" : "*"
Expand Down

0 comments on commit 297a202

Please sign in to comment.