[PR #8055] chore(server): change save -> update in asset repository #11903

Closed
opened 2026-02-05 14:47:56 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/8055

State: closed
Merged: Yes


Description

The save method updates or creates a new asset, but its uses don't actually provide the fields necessary to create a new asset. As a result, this PR reduces the scope of this method to more accurately reflect its usage. This change is spurred by the transition to Prisma, which has much stricter typing.

**Original Pull Request:** https://github.com/immich-app/immich/pull/8055 **State:** closed **Merged:** Yes --- ## Description The `save` method updates or creates a new asset, but its uses don't actually provide the fields necessary to create a new asset. As a result, this PR reduces the scope of this method to more accurately reflect its usage. This change is spurred by the transition to Prisma, which has much stricter typing.
OVERLORD added the pull-request label 2026-02-05 14:47:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#11903