File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ export async function createUserSettings(
6565 businessName : input . businessName ?? null ,
6666 logoUrl : input . logoUrl ?? null ,
6767 country : input . country ?? null ,
68- defaultCurrency : input . defaultCurrency ?? 'USD' ,
68+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
69+ defaultCurrency : ( input . defaultCurrency ?? 'USD' ) as any ,
6970 estimatedTaxRate : input . estimatedTaxRate ?? 0 ,
7071 } ,
7172 } ) ;
@@ -104,7 +105,8 @@ export async function updateUserSettings(
104105 updateData . country = input . country ;
105106 }
106107 if ( input . defaultCurrency !== undefined ) {
107- updateData . defaultCurrency = input . defaultCurrency ;
108+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
109+ updateData . defaultCurrency = input . defaultCurrency as any ;
108110 }
109111 if ( input . estimatedTaxRate !== undefined ) {
110112 updateData . estimatedTaxRate = input . estimatedTaxRate ;
You can’t perform that action at this time.
0 commit comments