Skip to content

Commit

Permalink
disable AP feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Oct 28, 2024
1 parent 7901dd8 commit b57e650
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ public async Task<AppScopesEntity> GetAppScopesAsync(AltinnRepoContext repoConte
cancellationToken.ThrowIfCancellationRequested();
var appScope = await _dbContext.AppScopes.AsNoTracking().SingleOrDefaultAsync(a => a.Org == repoContext.Org && a.App == repoContext.Repo, cancellationToken);

if (appScope is null)
{
return null;
}

return AppScopesMapper.MapToModel(appScope);
return appScope is null ? null : AppScopesMapper.MapToModel(appScope);
}

public async Task<AppScopesEntity> UpsertAppScopesAsync(AppScopesEntity appScopesEntity,
Expand Down
2 changes: 1 addition & 1 deletion backend/src/Designer/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"FeatureManagement": {
"EidLogging": false,
"AnsattPorten": true
"AnsattPorten": false
},
"OidcLoginSettings": {
"Authority": "http://studio.localhost/repos/",
Expand Down

0 comments on commit b57e650

Please sign in to comment.