feat: add subscription renewal (#2389)

* feat: add renewal subsribe

* fix: after review
This commit is contained in:
NickVs2015
2026-03-24 17:45:02 +03:00
committed by GitHub
parent 36b1a863bf
commit f0f0f7c5be
12 changed files with 284 additions and 2 deletions

View File

@@ -758,7 +758,11 @@ bool ApiConfigsController::updateServiceFromGateway(const int serverIndex, const
}
return true;
} else {
emit errorOccurred(errorCode);
if (errorCode == ErrorCode::ApiSubscriptionExpiredError) {
emit subscriptionExpiredOnServer();
} else {
emit errorOccurred(errorCode);
}
return false;
}
}