updatePublisherMe method
Implementation
Future<shelf.Response> updatePublisherMe(shelf.Request req) async {
final current = await _requireCurrentUser(req);
final map = await _bodyAsMap(req);
final username = map['username']?.trim();
final bio = map['bio']?.trim();
final updated = await userStore!.updateProfile(
email: current.email,
username: username,
bio: bio,
);
return _ok({'user': updated.toPublicJson()});
}