mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Fix server path not saved in Account
This commit is contained in:
parent
1bf6dfba5a
commit
938a0dfb4f
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,8 @@ import 'dart:io';
|
|||
import 'package:bloc/bloc.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:nc_photos/account.dart';
|
||||
import 'package:nc_photos/ci_string.dart';
|
||||
import 'package:nc_photos/api/api_util.dart' as api_util;
|
||||
import 'package:nc_photos/ci_string.dart';
|
||||
import 'package:nc_photos/exception.dart';
|
||||
|
||||
abstract class AppPasswordExchangeBlocEvent {
|
||||
|
@ -231,7 +231,8 @@ class AppPasswordExchangeBloc
|
|||
final account = Account(
|
||||
Account.newId(),
|
||||
response.server.scheme,
|
||||
response.server.authority,
|
||||
response.server.authority +
|
||||
(response.server.path.isEmpty ? "" : response.server.path),
|
||||
response.loginName.toCi(),
|
||||
response.loginName,
|
||||
response.appPassword,
|
||||
|
|
Loading…
Reference in a new issue