web: fix OAuthSource not setting providerType
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -58,6 +58,7 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    send = (data: OAuthSource): Promise<OAuthSource> => {
 | 
			
		||||
        data.providerType = this.providerType?.slug || "";
 | 
			
		||||
        if (this.instance?.slug) {
 | 
			
		||||
            return new SourcesApi(DEFAULT_CONFIG).sourcesOauthPartialUpdate({
 | 
			
		||||
                slug: this.instance.slug,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user