mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
infra(server)!: fix typeorm asset entity relations (#1782)
* fix: add correct relations to asset typeorm entity * fix: add missing createdAt column to asset entity * ci: run check to make sure generated API is up-to-date * ci: cancel workflows that aren't for the latest commit in a branch * chore: add fvm config for flutter
This commit is contained in:
@@ -19,7 +19,7 @@ class APIKeyResponseDto {
|
||||
required this.updatedAt,
|
||||
});
|
||||
|
||||
int id;
|
||||
String id;
|
||||
|
||||
String name;
|
||||
|
||||
@@ -73,7 +73,7 @@ class APIKeyResponseDto {
|
||||
}());
|
||||
|
||||
return APIKeyResponseDto(
|
||||
id: mapValueOfType<int>(json, r'id')!,
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
name: mapValueOfType<String>(json, r'name')!,
|
||||
createdAt: mapValueOfType<String>(json, r'createdAt')!,
|
||||
updatedAt: mapValueOfType<String>(json, r'updatedAt')!,
|
||||
|
||||
Reference in New Issue
Block a user