mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-28 10:28:58 -05:00
fix(bb): username get
This commit is contained in:
@@ -50,6 +50,7 @@ class BbRepo {
|
||||
String slug;
|
||||
BbRepoMainbranch mainbranch;
|
||||
Map<String, dynamic> links;
|
||||
String get ownerLogin => fullName.split('/')[0]; // owner has no username
|
||||
String get avatarUrl => links['avatar']['href'];
|
||||
BbRepo();
|
||||
factory BbRepo.fromJson(Map<String, dynamic> json) => _$BbRepoFromJson(json);
|
||||
|
||||
Reference in New Issue
Block a user