mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-03 21:06:40 -05:00
fix(account): add placeholder URL for type inference in linkSocialAccount response (#3199)
This commit is contained in:
@@ -256,6 +256,7 @@ export const linkSocialAccount = createAuthEndpoint(
|
||||
if (hasBeenLinked) {
|
||||
return c.json({
|
||||
redirect: false,
|
||||
url: "", // this is for type inference
|
||||
status: true,
|
||||
});
|
||||
}
|
||||
@@ -316,6 +317,7 @@ export const linkSocialAccount = createAuthEndpoint(
|
||||
|
||||
return c.json({
|
||||
redirect: false,
|
||||
url: "", // this is for type inference
|
||||
status: true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user