From 4352960f8345b4e66e32940e55d8708052a3121a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 11 May 2021 13:31:33 +0200 Subject: [PATCH] web/admin: fix error when updating oauth source Signed-off-by: Jens Langhammer --- web/src/pages/sources/oauth/OAuthSourceForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/sources/oauth/OAuthSourceForm.ts b/web/src/pages/sources/oauth/OAuthSourceForm.ts index d72ad0632..de7d66630 100644 --- a/web/src/pages/sources/oauth/OAuthSourceForm.ts +++ b/web/src/pages/sources/oauth/OAuthSourceForm.ts @@ -42,7 +42,7 @@ export class OAuthSourceForm extends ModelForm { send = (data: OAuthSource): Promise => { if (this.instance) { - return new SourcesApi(DEFAULT_CONFIG).sourcesOauthUpdate({ + return new SourcesApi(DEFAULT_CONFIG).sourcesOauthPartialUpdate({ slug: this.instance.slug, data: data });