Skip to content

Commit

Permalink
DOP-4490 fixing nits
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 28, 2024
1 parent e9ced95 commit 24c8bd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/repositories/repoBranchesRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class RepoBranchesRepository extends BaseRepository {
`Mongo Timeout Error: Timedout while retrieving repo branches entries ${
directoryPath ? `/${directoryPath}` : ''
}`,
null,
undefined,
projection
);

Expand Down
8 changes: 6 additions & 2 deletions src/services/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import { ILogger } from './logger';
import { IConfig } from 'config';
import * as crypto from 'crypto';
import { RepoBranchesRepository } from '../../../src/repositories/repoBranchesRepository';
import { RepoBranchesRepository } from '../repositories/repoBranchesRepository';
export const axiosApi = axios.create();

function bufferEqual(a: Buffer, b: Buffer) {
Expand Down Expand Up @@ -54,7 +54,11 @@ export class SlackConnector implements ISlackConnector {
return {};
}
//fix this in slack connector interface
async parseSelection(stateValues: any, entitlement: any, repoBranchesRepository: RepoBranchesRepository): any {
async parseSelection(
stateValues: any,
entitlement: any,
repoBranchesRepository: RepoBranchesRepository
): Promise<any> {
const values = {};
const inputMapping = {
block_repo_option: 'repo_option',
Expand Down

0 comments on commit 24c8bd2

Please sign in to comment.