chore: stop using legacy partner create endpoint (#27806)

This commit is contained in:
Jason Rasmussen 2026-04-15 06:46:43 -04:00 committed by GitHub
parent 5f5e3344d5
commit ed70e0febf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}