dart format
This commit is contained in:
@@ -39,10 +39,10 @@ class LimitService {
|
||||
}
|
||||
}
|
||||
|
||||
void editLimit( double newLimit) async {
|
||||
void editLimit(double newLimit) async {
|
||||
try {
|
||||
final response = await _dio.post('/api/customer/daily-limit',
|
||||
data: '{"amount": $newLimit}');
|
||||
data: '{"amount": $newLimit}');
|
||||
if (response.statusCode == 200) {
|
||||
log('Response: ${response.data}');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user