mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-11-15 10:44:10 +01:00
fix: multiple minor fixes (#1154)
This commit is contained in:
1 parent
9da90e7cc8
commit
4d844c567c
5 files changed
+20
-5
No files matched your search
@@ -68,7 +68,7 @@ func isDemoMode(ctx context.Context, queries *sqlc.Queries) bool {
|
||||
}
|
||||
}
|
||||
|
||||
return true, nil
|
||||
return len(features) > 0, nil
|
||||
}); err != nil {
|
||||
slog.ErrorContext(ctx, "Failed to check demo mode", "error", err)
|
||||
|
||||
|
||||
Reference in new issue
Block a user