removed base url from languages
This commit is contained in:
parent
c600621cac
commit
21641f514a
1 changed files with 1 additions and 2 deletions
|
|
@ -7,12 +7,11 @@ import 'package:fluffychat/pangea/utils/error_handler.dart';
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:http/http.dart';
|
||||
|
||||
import '../config/environment.dart';
|
||||
import '../network/requests.dart';
|
||||
|
||||
class LanguageRepo {
|
||||
static Future<List<LanguageModel>> fetchLanguages() async {
|
||||
final Requests req = Requests(baseUrl: Environment.choreoApi);
|
||||
final Requests req = Requests();
|
||||
final Response res = await req.get(url: PApiUrls.getLanguages);
|
||||
|
||||
final decodedBody =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue