mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 08:30:03 +09:00
fix(web): show OAuth login button when disabled (#2219)
* fix(web): show OAuth login button when disable * update api
This commit is contained in:
12
mobile/openapi/lib/api/job_api.dart
generated
12
mobile/openapi/lib/api/job_api.dart
generated
@@ -16,7 +16,9 @@ class JobApi {
|
||||
|
||||
final ApiClient apiClient;
|
||||
|
||||
/// Performs an HTTP 'GET /jobs' operation and returns the [Response].
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
Future<Response> getAllJobsStatusWithHttpInfo() async {
|
||||
// ignore: prefer_const_declarations
|
||||
final path = r'/jobs';
|
||||
@@ -42,6 +44,7 @@ class JobApi {
|
||||
);
|
||||
}
|
||||
|
||||
///
|
||||
Future<AllJobStatusResponseDto?> getAllJobsStatus() async {
|
||||
final response = await getAllJobsStatusWithHttpInfo();
|
||||
if (response.statusCode >= HttpStatus.badRequest) {
|
||||
@@ -57,7 +60,10 @@ class JobApi {
|
||||
return null;
|
||||
}
|
||||
|
||||
/// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response].
|
||||
///
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [JobName] jobId (required):
|
||||
@@ -89,6 +95,8 @@ class JobApi {
|
||||
);
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
/// * [JobName] jobId (required):
|
||||
|
||||
Reference in New Issue
Block a user