Skip to content

Commit

Permalink
Merge pull request #16 from HammerheadShark666/remove-commented-out-c…
Browse files Browse the repository at this point in the history
…ode-in-docker-compose

Remove commented out code in docker compose
  • Loading branch information
HammerheadShark666 authored Sep 4, 2024
2 parents e781e6e + ea12de7 commit 8234d97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion Microservice.Customer.Api/Helpers/CustomerHttpAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public Guid CustomerId

var customerId = accessor.HttpContext.User.FindFirstValue(ClaimTypes.NameIdentifier);

return customerId == null ? throw new ArgumentNullException("NameIdentifier not found with customer Id.") : new(customerId);
return customerId == null ? throw new ArgumentNullException("NameIdentifier not found with customer Id") : new(customerId);
}
}
}
9 changes: 0 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# version: '3.4'

# services:
# microservice.customer.api:
# image: ${DOCKER_REGISTRY-}microservicecustomerapi
# build:
# context: .
# dockerfile: Microservice.Customer.Api/Dockerfile

version: '3.4'

services:
Expand Down

0 comments on commit 8234d97

Please sign in to comment.