From 673520c9f898958044210dd8c416d0591a6bb635 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 21 Aug 2021 16:08:50 +0200 Subject: [PATCH] web: fix OAuthSource not setting providerType Signed-off-by: Jens Langhammer --- web/src/pages/sources/oauth/OAuthSourceForm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/pages/sources/oauth/OAuthSourceForm.ts b/web/src/pages/sources/oauth/OAuthSourceForm.ts index 367ffa87b..f0d7ba14e 100644 --- a/web/src/pages/sources/oauth/OAuthSourceForm.ts +++ b/web/src/pages/sources/oauth/OAuthSourceForm.ts @@ -58,6 +58,7 @@ export class OAuthSourceForm extends ModelForm { } send = (data: OAuthSource): Promise => { + data.providerType = this.providerType?.slug || ""; if (this.instance?.slug) { return new SourcesApi(DEFAULT_CONFIG).sourcesOauthPartialUpdate({ slug: this.instance.slug,