Post tags

This commit is contained in:
2024-11-27 00:06:11 +08:00
parent 312d68286e
commit 420588860a
12 changed files with 616 additions and 17 deletions

View File

@ -112,7 +112,7 @@ class SnPostContentProvider {
Future<SnPost> getPost(dynamic id) async {
final resp = await _sn.client.get('/cgi/co/posts/$id');
final out = _preloadRelatedDataSingle(
SnPost.fromJson(resp.data['data']),
SnPost.fromJson(resp.data),
);
return out;
}