Add invite_request_username property to AdminAccount
This commit is contained in:
parent
179cafcc23
commit
4f87287d45
|
@ -77,7 +77,8 @@ const adminAccountsController: AppController = async (c) => {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...account,
|
...account,
|
||||||
invite_request: request ? request.content : null,
|
invite_request: request?.content ?? null,
|
||||||
|
invite_request_username: request?.tags.find(([name]) => name === 'r')?.[1] ?? null,
|
||||||
approved: !!grant,
|
approved: !!grant,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue