Skip to content

Commit

Permalink
fix: make Repo urls optional
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed Jul 4, 2023
1 parent 1d6d332 commit 2ce9f68
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
4 changes: 2 additions & 2 deletions core/lib/src/models/tables/repo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class Repo extends SupabaseObjectFunctions<Repo> {
String studyId;
GitProvider provider;
@JsonKey(name: 'web_url')
String webUrl;
String? webUrl;
@JsonKey(name: 'git_url')
String gitUrl;
String? gitUrl;

Repo(this.projectId, this.userId, this.studyId, this.provider, this.webUrl, this.gitUrl);

Expand Down
30 changes: 20 additions & 10 deletions core/lib/src/models/tables/repo.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ce9f68

Please sign in to comment.