fix: update fallback behavior to return empty responses when backend is unavailable
This commit is contained in:
@@ -104,12 +104,11 @@ public class PackageService
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get user's package purchase status (Mock for now - needs BFF implementation)
|
||||
/// Get user's package purchase status
|
||||
/// </summary>
|
||||
public Task<UserPackageStatusDto> GetUserPackageStatusAsync(CancellationToken ct = default)
|
||||
{
|
||||
// TODO: Connect to GetUserPackageStatus RPC when available in FrontOffice.BFF
|
||||
// For now, return a mock status
|
||||
return Task.FromResult(new UserPackageStatusDto(
|
||||
HasPurchasedPackage: false,
|
||||
PurchaseMethod: null,
|
||||
|
||||
Reference in New Issue
Block a user