Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import 'package:dawarich/core/application/errors/failure.dart';
import 'package:dawarich/core/network/dio_client.dart';
import 'package:dawarich/features/version_check/application/repository/version_repository_interfaces.dart';
Expand All @@ -18,7 +17,7 @@ final class VersionRepository implements IVersionRepository {

final sha = shaRes.unwrap();
final url =
'https://raw.githubusercontent.com/sunstep/dawarich-android-feedback/$sha/compat.json';
'https://raw.githubusercontent.com/sunstep/dawarich-android/$sha/compat.json';
return Ok(url);
}

Expand Down Expand Up @@ -73,8 +72,8 @@ final class VersionRepository implements IVersionRepository {
Future<Result<String, Failure>> _getCompatCommitSha() async {

const ghUrl =
'https://api.github.com/repos/sunstep/dawarich-android-feedback/commits'
'?path=compat.json&sha=main&per_page=1'; // In the future this will be same repository as the code it self.
'https://api.github.com/repos/sunstep/dawarich-android/commits'
'?path=compat.json&sha=main&per_page=1';

try {
final resp = await _apiClient.get(ghUrl,
Expand Down