forked from eatvio/eatvio_app
feat(feed): Comment creation API and state update
This commit is contained in:
@@ -34,6 +34,9 @@ class FeedBloc extends Bloc<FeedEvent, FeedState> {
|
||||
}
|
||||
final response = await http.get(
|
||||
Uri.parse(dotenv.env['SERVER_ROOT']! + '/feed/index'),
|
||||
headers: {
|
||||
'Authorization': 'Bearer $token',
|
||||
},
|
||||
);
|
||||
print('Got response');
|
||||
if (response.statusCode == 200) {
|
||||
|
||||
Reference in New Issue
Block a user