mirror of
https://github.com/immich-app/immich.git
synced 2026-07-05 20:57:40 +00:00
chore: stop using legacy partner create endpoint (#27806)
This commit is contained in:
parent
5f5e3344d5
commit
ed70e0febf
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ class PartnerApiRepository extends ApiRepository {
|
|||
return response.map(UserConverter.fromPartnerDto).toList();
|
||||
}
|
||||
|
||||
Future<UserDto> create(String id) async {
|
||||
final dto = await checkNull(_api.createPartnerDeprecated(id));
|
||||
Future<UserDto> create(String sharedWithId) async {
|
||||
final dto = await checkNull(_api.createPartner(PartnerCreateDto(sharedWithId: sharedWithId)));
|
||||
return UserConverter.fromPartnerDto(dto);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue