mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): empty album is not auto deleted (#2283)
* fix(web): empty album is not auto deleted * regenerate api * fix test
This commit is contained in:
parent
8a421831ab
commit
975d23ee5c
42 changed files with 108 additions and 824 deletions
12
mobile/openapi/lib/api/job_api.dart
generated
12
mobile/openapi/lib/api/job_api.dart
generated
|
|
@ -16,9 +16,7 @@ class JobApi {
|
|||
|
||||
final ApiClient apiClient;
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
/// Performs an HTTP 'GET /jobs' operation and returns the [Response].
|
||||
Future<Response> getAllJobsStatusWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/jobs';
|
||||
|
|
@ -44,7 +42,6 @@ class JobApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<AllJobStatusResponseDto?> getAllJobsStatus() async {
|
||||
final response = await getAllJobsStatusWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
|
|
@ -60,10 +57,7 @@ class JobApi {
|
|||
return null;
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response].
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [JobName] jobId (required):
|
||||
|
|
@ -95,8 +89,6 @@ class JobApi {
|
|||
);
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [JobName] jobId (required):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue