fix(pawchive): fix favorites API endpoints and login 404 error (v2.3.9)
This commit is contained in:
@@ -253,7 +253,7 @@ void main() {
|
||||
);
|
||||
expect(addResult, isTrue);
|
||||
expect(lastMethod, equals('POST'));
|
||||
expect(lastPath, equals('https://pawchive.pw/favorites/creator/fanbox/12345'));
|
||||
expect(lastPath, equals('https://pawchive.pw/api/v1/favorites/creator/fanbox/12345'));
|
||||
|
||||
final removeResult = await service.toggleRemoteFavorite(
|
||||
account: account,
|
||||
@@ -263,7 +263,7 @@ void main() {
|
||||
);
|
||||
expect(removeResult, isTrue);
|
||||
expect(lastMethod, equals('DELETE'));
|
||||
expect(lastPath, equals('https://pawchive.pw/favorites/creator/fanbox/12345'));
|
||||
expect(lastPath, equals('https://pawchive.pw/api/v1/favorites/creator/fanbox/12345'));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user