This commit is contained in:
2023-08-28 23:03:50 +08:00
parent 52c4603a1a
commit e695dff0c0

View File

@@ -42,9 +42,9 @@ abstract class EHApi {
@PUT('/token')
Future<ApiResult<Token>> _createToken(
{@Query("username") String username,
@Query("password") String password,
@Query("t") int t,
{@Query("username") required String username,
@Query("password") required String password,
@Query("t") required int t,
@Query("set_cookie") bool? setCookie,
@Query("http_only") bool? httpOnly,
@Query("secure") bool? secure});