Skip to content

Commit db0af1b

Browse files
committed
fix: set default roles for keyrings to include 'admin'
- Updated the default value for the roles property in the Keyrings schema to ensure 'admin' is included by default.
1 parent 1b419f3 commit db0af1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/core/keyrings/_schemas/keyrings.schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class Keyrings extends AbstractSchema {
2626

2727
@Prop({
2828
type: [String],
29-
default: [],
29+
default: ['admin'],
3030
})
3131
public roles?: string[];
3232

0 commit comments

Comments
 (0)