Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a5acf466a4 | |||
|
|
f1bb5b391d | ||
| 840fcf9d25 | |||
| c390fc9ce7 |
1
index.js
1
index.js
@@ -53,6 +53,7 @@ module.exports = async function(robot) {
|
|||||||
kredits = await new Kredits(signer.provider, signer, {
|
kredits = await new Kredits(signer.provider, signer, {
|
||||||
// TODO support local devchain custom address
|
// TODO support local devchain custom address
|
||||||
apm: 'open.aragonpm.eth',
|
apm: 'open.aragonpm.eth',
|
||||||
|
// addresses: { Kernel: '0x93aa4531329e4bf3efcd1ec0b74adb6f66d9d10e' }
|
||||||
ipfsConfig
|
ipfsConfig
|
||||||
}).init();
|
}).init();
|
||||||
} catch(error) {
|
} catch(error) {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ module.exports = async function(robot, kredits) {
|
|||||||
async function handleGiteaIssueClosed(data) {
|
async function handleGiteaIssueClosed(data) {
|
||||||
const issue = data.issue;
|
const issue = data.issue;
|
||||||
const repoName = data.repository.full_name;
|
const repoName = data.repository.full_name;
|
||||||
const web_url = `${data.repository.html_url}/issues/${issue.id}`;
|
const web_url = `${data.repository.html_url}/issues/${issue.number}`;
|
||||||
const description = `${repoName}: ${issue.title}`;
|
const description = `${repoName}: ${issue.title}`;
|
||||||
const amount = amountFromLabels(issue.labels);
|
const amount = amountFromLabels(issue.labels);
|
||||||
const assignees = issue.assignees ? issue.assignees.map(a => a.login) : [];
|
const assignees = issue.assignees ? issue.assignees.map(a => a.login) : [];
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hubot-kredits",
|
"name": "hubot-kredits",
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hubot-kredits",
|
"name": "hubot-kredits",
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"description": "Kosmos Kredits functionality for chat bots",
|
"description": "Kosmos Kredits functionality for chat bots",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user