Skip to content

Commit

Permalink
fix: User json should load services to array by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Feb 16, 2023
1 parent ceb62a2 commit 5b8d068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions xmcl-runtime-api/src/entities/UserSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
"yggdrasilServices": {
"description": "The customized third-party yggrasil services satisfying the authlib-injector api format",
"default": [],
"type": "array",
"items": {
"$ref": "#/definitions/YggdrasilApi"
Expand Down
1 change: 1 addition & 0 deletions xmcl-runtime-api/src/entities/user.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export interface UserSchema {

/**
* The customized third-party yggrasil services satisfying the authlib-injector api format
* @default []
*/
yggdrasilServices: Array<YggdrasilApi>
}

0 comments on commit 5b8d068

Please sign in to comment.