feat: トークン手動発行機能
This commit is contained in:
parent
0a4499fd03
commit
0c1de7b1b6
7 changed files with 117 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ export const meta = {
|
|||
|
||||
params: {
|
||||
session: {
|
||||
validator: $.str
|
||||
validator: $.nullable.str
|
||||
},
|
||||
|
||||
name: {
|
||||
|
|
@ -52,4 +52,8 @@ export default define(meta, async (ps, user) => {
|
|||
iconUrl: ps.iconUrl,
|
||||
permission: ps.permission,
|
||||
});
|
||||
|
||||
return {
|
||||
token: accessToken
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue