💄 Optimized post create popup

This commit is contained in:
2024-07-25 01:43:50 +08:00
parent 6d92a16a62
commit 02c28533db
3 changed files with 73 additions and 45 deletions

View File

@ -34,7 +34,7 @@ class PostProvider extends GetConnect {
'offset=$page',
];
final client = auth.configureClient('interactive');
final resp = await client.get('/drafts?${queries.join('&')}');
final resp = await client.get('/posts/drafts?${queries.join('&')}');
if (resp.statusCode != 200) {
throw Exception(resp.body);
}