1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-05 03:38:55 +01:00

refs #4257 Fix isAccount function for FollowRequest

This commit is contained in:
AkiraFukushima 2023-06-03 22:44:40 +09:00
parent c32560c05c
commit cbdcd844de
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957

View File

@ -92,7 +92,7 @@ export default defineComponent({
}
const isAccount = (req: any): req is Entity.Account => {
return (req as Entity.Account)?.moved !== undefined
return !(typeof req.id === 'number')
}
return {