web/admin: fix error when updating oauth source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -42,7 +42,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> { | |||||||
|  |  | ||||||
|     send = (data: OAuthSource): Promise<OAuthSource> => { |     send = (data: OAuthSource): Promise<OAuthSource> => { | ||||||
|         if (this.instance) { |         if (this.instance) { | ||||||
|             return new SourcesApi(DEFAULT_CONFIG).sourcesOauthUpdate({ |             return new SourcesApi(DEFAULT_CONFIG).sourcesOauthPartialUpdate({ | ||||||
|                 slug: this.instance.slug, |                 slug: this.instance.slug, | ||||||
|                 data: data |                 data: data | ||||||
|             }); |             }); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer