diff --git a/lib/screens/post/post_editor.dart b/lib/screens/post/post_editor.dart index f5f64f1..5e5f23f 100644 --- a/lib/screens/post/post_editor.dart +++ b/lib/screens/post/post_editor.dart @@ -55,7 +55,7 @@ class _PostEditorScreenState extends State { try { final sn = context.read(); - final resp = await sn.client.get('/cgi/co/publishers'); + final resp = await sn.client.get('/cgi/co/publishers/me'); _publishers = List.from( resp.data?.map((e) => SnPublisher.fromJson(e)) ?? [], ); diff --git a/lib/widgets/post/post_mini_editor.dart b/lib/widgets/post/post_mini_editor.dart index 24a267d..aac53fa 100644 --- a/lib/widgets/post/post_mini_editor.dart +++ b/lib/widgets/post/post_mini_editor.dart @@ -35,7 +35,7 @@ class _PostMiniEditorState extends State { try { final sn = context.read(); - final resp = await sn.client.get('/cgi/co/publishers'); + final resp = await sn.client.get('/cgi/co/publishers/me'); _publishers = List.from( resp.data?.map((e) => SnPublisher.fromJson(e)) ?? [], );