Skip to content

Commit

Permalink
set git ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushik committed Jul 19, 2024
1 parent e05ff9a commit 5ca6fe4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions data/lib/config.dart

This file was deleted.

4 changes: 1 addition & 3 deletions data/lib/service/place_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:http/http.dart' as http;

import '../api/network/client.dart';
import '../config.dart';

const defaultRadius = 1500;

Expand Down Expand Up @@ -133,8 +132,7 @@ class PlaceService {
String? lng,
) async {
final placeRadius = (lat != null && lng != null) ? defaultRadius : '';
final String url =
'${AppConfig.placeBaseUrl}?query=$query&location=$lat,$lng&radius=$placeRadius&key=${AppConfig.mapApiKey}';
const String url ='url';

final response = await http.get(Uri.parse(url));

Expand Down

0 comments on commit 5ca6fe4

Please sign in to comment.