mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-18 05:51:55 +08:00
feat: Initialize default authorization state with enabled status and timestamp
This commit is contained in:
parent
781d2fc0c2
commit
a81fee3f9a
@ -17,6 +17,8 @@ export async function handleAuthorizeAction(
|
||||
userId,
|
||||
clientId,
|
||||
scope,
|
||||
enabled: true, // 新授权默认启用
|
||||
lastUsedAt: new Date(), // 首次授权时间作为最后使用时间
|
||||
});
|
||||
|
||||
return redirectUrl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user