Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 21, 2017
1 parent 596cf0d commit 729a4fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/appier_extras/parts/admin/models/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ def notify_mailme(self, arguments = {}):
def notify_nexmo(self, arguments = {}):
appier.ensure_pip("nexmo", package = "nexmo_api")
import nexmo
logger = appier.get_logger()
logger.debug("Running Nexmo notification ...")
api = nexmo.Api()
sender = arguments["sender"]
receiver = arguments["receiver"]
text = arguments["text"]
logger = appier.get_logger()
logger.debug("Running Nexmo notification for '%s' ..." % receiver)
api = nexmo.Api()
return api.send_sms(sender, receiver, text)

@appier.operation(name = "Duplicate", factory = True)
Expand Down

0 comments on commit 729a4fc

Please sign in to comment.