Skip to content

Commit ee2c95e

Browse files
committed
commented code removed | readme versions update
1 parent f0be431 commit ee2c95e

2 files changed

Lines changed: 7 additions & 19 deletions

File tree

MangoAPI.BusinessLogic/ApiCommands/Communities/CreateChannelCommandHandler.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,15 @@ public class CreateChannelCommandHandler
1414
{
1515
private const string DefaultChannelImage = "default_group_logo.png";
1616
private readonly MangoDbContext dbContext;
17-
// private readonly IHubContext<ChatHub, IHubClient> hubContext;
1817
private readonly ResponseFactory<CreateCommunityResponse> responseFactory;
19-
// private readonly IBlobServiceSettings blobServiceSettings;
2018

2119
public CreateChannelCommandHandler(
2220
MangoDbContext dbContext,
23-
// IHubContext<ChatHub, IHubClient> hubContext,
2421
ResponseFactory<CreateCommunityResponse> responseFactory
25-
// IBlobServiceSettings blobServiceSettings
26-
)
22+
)
2723
{
2824
this.dbContext = dbContext;
29-
// this.hubContext = hubContext;
3025
this.responseFactory = responseFactory;
31-
// this.blobServiceSettings = blobServiceSettings;
3226
}
3327

3428
public async Task<Result<CreateCommunityResponse>> Handle(
@@ -51,11 +45,6 @@ public async Task<Result<CreateCommunityResponse>> Handle(
5145

5246
await dbContext.SaveChangesAsync(cancellationToken);
5347

54-
// var chatLogoImageUrl = $"{blobServiceSettings.MangoBlobAccess}/{DefaultChannelImage}";
55-
56-
// var chatDto = chat.ToChatDto(chatLogoImageUrl);
57-
// await hubContext.Clients.Group(request.UserId.ToString()).PrivateChatCreatedAsync(chatDto);
58-
5948
return responseFactory.SuccessResponse(CreateCommunityResponse.FromSuccess(chat));
6049
}
6150
}

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ However, it is worth to continue progress on the project pursuing another predef
7575
- **Azure storage explorer**: https://azure.microsoft.com/en-us/products/storage/storage-explorer
7676
- **Azure data studio**: https://azure.microsoft.com/en-us/products/data-studio
7777
- **Docker:** https://docs.docker.com/desktop/windows/install
78-
- **Angular:** `13.3.5`
79-
- **Angular CLI:** `13.3.4`
78+
- **Angular CLI:** `15.2.2`
8079
- **NodeJS:** `16.13.1`
81-
- **NPM:** `8.1.2`
80+
- **NPM:** `8.7.0`
8281
- **Code Editor & IDE:** Visual studio, Visual studio code, Rider
8382
- **VS Code Plugins:**
8483
- [ESlint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
@@ -92,13 +91,13 @@ However, it is worth to continue progress on the project pursuing another predef
9291
### Run in debug mode
9392

9493
- Install NVM: https://github.com/coreybutler/nvm-windows
95-
- Install NodeJS `14.17.3` using NVM & PowerShell as Administrator: `nvm install 16.13.1`
96-
- Use NodeJS `14.17.3` using NVM via PowerShell as Administrator: `nvm use 16.13.1`
94+
- Install NodeJS `16.13.1` using NVM & PowerShell as Administrator: `nvm install 16.13.1`
95+
- Use NodeJS `16.13.1` using NVM via PowerShell as Administrator: `nvm use 16.13.1`
9796
- Check NodeJS installed properly (should be `16.13.1`): `node -v`
98-
- Check NPM installed properly (should be `8.1.2`): `npm -v`
97+
- Check NPM installed properly (should be `8.7.0`): `npm -v`
9998
- Go to the project folder: `cd MangoAPI.Client`
10099
- Restore node modules: `npm ci`
101-
- Install Angular CLI globally: `npm install -g @angular/cli@13.3.4`
100+
- Install Angular CLI globally: `npm install -g @angular/cli@15.2.2`
102101
- Open PowerShell as Administrator and type: `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned`
103102
- Check that Angular CLI installed properly: `ng version`
104103
- Build project for development using Angular CLI: `ng build`

0 commit comments

Comments
 (0)