Commit d93df4fc authored by Nicolas Lenz's avatar Nicolas Lenz

Fix wrong url used

parent 148f2434
......@@ -44,7 +44,7 @@ Future<String> deleteContainer(int container) async {
}
Future<String> deleteLocation(String location) async {
final response = await http.delete(Uri.https(await getUrl(), "container/$location"));
final response = await http.delete(Uri.https(await getUrl(), "location/$location"));
if(response.statusCode == 200) {
return response.body;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment