uncrionge front miss reactions detection

This commit is contained in:
Clément Le Bihan
2022-03-06 15:45:33 +01:00
parent e8f2640d39
commit cb2728e7f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ export const deSerializeApiPipelineReaction = (data: any, refReaction: AppAREATy
export const deSerializePipeline = (data: any, AREAs: Array<Array<AppAREAType>>): AppPipelineType => {
let reactionList: AppAREAType[] = [];
for (const reaction of data.reactions) {
const refReaction = deepCopy(AREAs[1].filter((el) => el.type === data.rType)[0]);
const refReaction = deepCopy(AREAs[1].filter((el) => el.type === reaction.rType)[0]);
if (refReaction !== undefined) reactionList.push(deepCopy(deSerializeApiPipelineReaction(reaction, refReaction)));
}
+1 -1
View File
@@ -17,7 +17,7 @@ export class Github extends BaseService {
throw new Error("User not authenticated via github");
this._github = new Octokit({auth: pipeline.userData["Github"].accessToken});
this._websocket = new Webhooks({
secret: "bidibi"
secret: pipeline.userData["Github"].accessToken
});
}