web/admin: fix error when updating oauth source

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-11 13:31:33 +02:00
parent 34a8408a4f
commit 4352960f83
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
send = (data: OAuthSource): Promise<OAuthSource> => {
if (this.instance) {
return new SourcesApi(DEFAULT_CONFIG).sourcesOauthUpdate({
return new SourcesApi(DEFAULT_CONFIG).sourcesOauthPartialUpdate({
slug: this.instance.slug,
data: data
});