Mercurial > prosody-modules
comparison mod_pubsub_github/mod_pubsub_github.lua @ 3265:d4207ab8ccc1
mod_pubsub_github: Remove unused import [luacheck]
Use of formdecode was removed in 754d97ba333d
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Aug 2018 18:05:52 +0200 |
parents | f48bedd1d433 |
children | a98a3922bc01 |
comparison
equal
deleted
inserted
replaced
3264:f48bedd1d433 | 3265:d4207ab8ccc1 |
---|---|
1 module:depends("http"); | 1 module:depends("http"); |
2 | 2 |
3 local st = require "util.stanza"; | 3 local st = require "util.stanza"; |
4 local json = require "util.json"; | 4 local json = require "util.json"; |
5 local formdecode = require "net.http".formdecode; | |
6 local hmac_sha1 = require "util.hashes".hmac_sha1; | 5 local hmac_sha1 = require "util.hashes".hmac_sha1; |
7 | 6 |
8 local pubsub_service = module:depends("pubsub").service; | 7 local pubsub_service = module:depends("pubsub").service; |
9 local node = module:get_option("github_node", "github"); | 8 local node = module:get_option("github_node", "github"); |
10 local secret = module:get_option("github_secret"); | 9 local secret = module:get_option("github_secret"); |