mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[web] remove unused link=false flag from /user/oauth-unlink (#36566)
GitOrigin-RevId: 5a8af17bf339df62a6cf54d6c372bff4cbe88eb3
This commit is contained in:
@@ -56,10 +56,7 @@ export function SSOProvider({ children }: SSOProviderProps) {
|
||||
if (!subscriptions[providerId].linked) {
|
||||
return Promise.resolve()
|
||||
}
|
||||
const body = {
|
||||
link: false,
|
||||
providerId,
|
||||
}
|
||||
const body = { providerId }
|
||||
|
||||
return postJSON('/user/oauth-unlink', { body, signal }).then(() => {
|
||||
if (isMounted.current) {
|
||||
|
||||
Reference in New Issue
Block a user