Skip to content

Commit 250cada

Browse files
Add CosmosDBName to documented config settings
1 parent 1d91293 commit 250cada

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/dotnet/APIView/APIViewWeb/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Following configuration is required to connect local debug instance to Azure res
116116
"Cosmos": {
117117
"ConnectionString": "<connection string to cosmos db>"
118118
},
119+
"CosmosDBName": "APIViewV2",
119120
"github-access-token": "",
120121
"ApiKey": "",
121122
"PYTHONEXECUTABLEPATH": "<Full path to python executable>",

src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public async Task<IActionResult> OnGetAsync(string id, string revisionId = null)
101101
reviewManager: _reviewManager, preferenceCache: _preferenceCache, userProfileRepository: _userProfileRepository,
102102
reviewRevisionsManager: _apiRevisionsManager, commentManager: _commentsManager, codeFileRepository: _codeFileRepository,
103103
signalRHubContext: _signalRHubContext, user: User, review: review, revisionId: null, diffRevisionId: null,
104-
showDocumentation: ShowDocumentation, showDiffOnly: ShowDiffOnly, diffContextSize: REVIEW_DIFF_CONTEXT_SIZE,
104+
showDocumentation: (ShowDocumentation ?? false), showDiffOnly: ShowDiffOnly, diffContextSize: REVIEW_DIFF_CONTEXT_SIZE,
105105
diffContextSeperator: DIFF_CONTEXT_SEPERATOR);
106106

107107
ReviewContent.CrossLanguageViewContent.Add(review.Language, reviewContent);

0 commit comments

Comments
 (0)