rename to one trip

This commit is contained in:
Alexander Laevens
2022-11-26 00:25:22 -07:00
parent 839147e0b0
commit 25e1a42392
207 changed files with 8015 additions and 245 deletions

View File

@@ -35,7 +35,7 @@ class Homegroup {
);
}
static Future<Homegroup?> fetchHomegroup(int id) async {
static Future<Homegroup?> get(int id) async {
String requestURL = "$baseURL/api/homegroups/$id/";
String token = TokenSingleton().getToken();
@@ -52,7 +52,7 @@ class Homegroup {
}
}
static Future<Homegroup?> createHomegroup(String title) async {
static Future<Homegroup?> create(String title) async {
String requestURL = "$baseURL/api/homegroups/";
String token = TokenSingleton().getToken();