Zoom integration #53
@@ -22,7 +22,7 @@ module.exports = async function(robot, kredits) {
|
||||
|
|
||||
.then(contributor => {
|
||||
if (!contributor) {
|
||||
robot.logger.error(`[hubot-kredits] Contributor not found: Zoom display name: ${displayName}`);
|
||||
messageRoom(`I tried to add a contribution for zoom user ${displayName}, but did not find a matchig contributor profile.`);
|
||||
```suggestion
const { Contributor, Contribution } = kredits;
```
```suggestion
const contribution = {
```
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call". This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".
```suggestion
robot.logger.info(`[hubot-kredits] Ignoring zoom call ${data.uuid} (duration: ${meetingDetails.duration}, participants_count: ${meetingDetails.participants_count})`);
```
```suggestion
robot.logger.info(`[hubot-kredits] Contribution created: ${tx.hash}`);
```
```suggestion
robot.router.post('/incoming/kredits/zoom/'+process.env.KREDITS_WEBHOOK_TOKEN, (req, res) => {
```
|
||||
messageRoom(`I tried to add a contribution for zoom user ${displayName}, but did not find a matching contributor profile.`);
|
||||
```suggestion
const { Contributor, Contribution } = kredits;
```
```suggestion
const contribution = {
```
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call". This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".
```suggestion
robot.logger.info(`[hubot-kredits] Ignoring zoom call ${data.uuid} (duration: ${meetingDetails.duration}, participants_count: ${meetingDetails.participants_count})`);
```
```suggestion
robot.logger.info(`[hubot-kredits] Contribution created: ${tx.hash}`);
```
```suggestion
robot.router.post('/incoming/kredits/zoom/'+process.env.KREDITS_WEBHOOK_TOKEN, (req, res) => {
```
|
||||
return;
|
||||
}
|
||||
const contribution = {
|
||||
|
||||
```suggestion
const { Contributor, Contribution } = kredits;
```
```suggestion
const { Contributor, Contribution } = kredits;
```
```suggestion
const contribution = {
```
```suggestion
const contribution = {
```
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call". This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call". This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".
```suggestion
robot.logger.info(`[hubot-kredits] Ignoring zoom call ${data.uuid} (duration: ${meetingDetails.duration}, participants_count: ${meetingDetails.participants_count})`);
```
```suggestion
robot.logger.info(`[hubot-kredits] Ignoring zoom call ${data.uuid} (duration: ${meetingDetails.duration}, participants_count: ${meetingDetails.participants_count})`);
```
```suggestion
robot.logger.info(`[hubot-kredits] Contribution created: ${tx.hash}`);
```
```suggestion
robot.logger.info(`[hubot-kredits] Contribution created: ${tx.hash}`);
```
```suggestion
robot.router.post('/incoming/kredits/zoom/'+process.env.KREDITS_WEBHOOK_TOKEN, (req, res) => {
```
```suggestion
robot.router.post('/incoming/kredits/zoom/'+process.env.KREDITS_WEBHOOK_TOKEN, (req, res) => {
```
|
||||
Reference in New Issue
Block a user
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".
This is a bit of an issue, because we sometimes use the Weekly Call room for other meetings. Not sure what the best solution is. Maybe just something generic like "Team/Community Call".