🐛 Fix some bugs within relationship forgot

This commit is contained in:
2026-01-07 22:31:16 +08:00
parent 6c31337fbc
commit 735724ae4d
3 changed files with 1591 additions and 1591 deletions

View File

@@ -277,7 +277,7 @@ class RelationshipScreen extends HookConsumerWidget {
showLoadingModal(context);
try {
final client = ref.read(apiClientProvider);
await client.delete('/pass/relationships/${relationship.accountId}');
await client.delete('/pass/relationships/${relationship.relatedId}');
relationshipNotifier.refresh();
showSnackBar('relationshipDeleted'.tr());
} catch (err) {