Skip to content

Commit

Permalink
[mob] Undo redundant changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Jun 19, 2024
1 parent deace2b commit 9bf8e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions mobile/lib/services/remote_sync_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:async';
import 'dart:io';
import 'dart:math';

import "package:dio/dio.dart";
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:logging/logging.dart';
Expand Down Expand Up @@ -181,8 +180,7 @@ class RemoteSyncService {
e is WiFiUnavailableError ||
e is StorageLimitExceededError ||
e is SyncStopRequestedError ||
e is NoMediaLocationAccessError ||
e is DioError) {
e is NoMediaLocationAccessError) {
_logger.warning("Error executing remote sync", e, s);
rethrow;
} else {
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/services/user_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class UserService {

Future<Sessions> getActiveSessions() async {
try {
final response = await _enteDio.get("/users/sessionsx");
final response = await _enteDio.get("/users/sessions");
return Sessions.fromMap(response.data);
} on DioError catch (e) {
_logger.info(e);
Expand Down

0 comments on commit 9bf8e16

Please sign in to comment.