👽 Update publisher api

This commit is contained in:
2024-12-11 22:31:18 +08:00
parent 3b1d291037
commit f47f1b175a
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class _PublisherScreenState extends State<PublisherScreen> {
setState(() => _isBusy = true);
try {
final resp = await sn.client.get('/cgi/co/publishers');
final resp = await sn.client.get('/cgi/co/publishers/me');
final List<SnPublisher> out = List<SnPublisher>.from(
resp.data?.map((e) => SnPublisher.fromJson(e)) ?? []);