mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix ci
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_hbb/common/hbbs/hbbs.dart';
|
import 'package:flutter_hbb/common/hbbs/hbbs.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
@@ -158,7 +159,8 @@ class UserModel {
|
|||||||
final resp = await http.get(Uri.parse('$url/api/login-options'));
|
final resp = await http.get(Uri.parse('$url/api/login-options'));
|
||||||
return jsonDecode(resp.body);
|
return jsonDecode(resp.body);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
debugPrint("queryLoginOptions: jsonDecode resp body failed: ${e.toString()}");
|
debugPrint(
|
||||||
|
"queryLoginOptions: jsonDecode resp body failed: ${e.toString()}");
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user