Skip to content

Commit

Permalink
Update CosmosDB.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl authored Jul 19, 2024
1 parent 789cd69 commit 51cf603
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
public class CosmosDB implements ICosmosDB {
private static final Logger LOGGER = LoggerFactory.getLogger(CosmosDB.class);

private static final String ENDPOINT = "https://azurepetstoreweb.documents.azure.com:443/";
//needs to be injected not hardcoded
private static final String ENDPOINT = "https://azurepetstoreme.documents.azure.com:443/";

@Value("${cosmos.key}")
private String cosmosKey;
Expand Down

0 comments on commit 51cf603

Please sign in to comment.