Skip to content

Commit

Permalink
Merge pull request #49 from canopas/set-git-ignore
Browse files Browse the repository at this point in the history
set git ignore
  • Loading branch information
kaushiksaliya authored Jul 19, 2024
2 parents e48ac19 + df239f6 commit 50ebf07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions data/lib/config.dart

This file was deleted.

6 changes: 2 additions & 4 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 @@ -132,9 +131,8 @@ class PlaceService {
String? lat,
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}';
// final placeRadius = (lat != null && lng != null) ? defaultRadius : '';
const String url ='url';

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

Expand Down

0 comments on commit 50ebf07

Please sign in to comment.