Skip to content

Commit

Permalink
🔀 Merge pull request #7 from Fedodo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
LNA-DEV authored Jul 4, 2023
2 parents 70b947b + fbee15d commit 850a6ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Models/actor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Actor {
icon = getMedia(json["icon"]),
publicKey = PublicKey.fromJson(json["publicKey"]),
endpoints = Endpoints.fromJson(json["endpoints"]),
published = DateTime.tryParse(json["published"]);
published = json["published"] != null ? DateTime.tryParse(json["published"]) : null;

static Media? getMedia(dynamic json) {
if (json != null) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: activitypub
description: A library for the ActivityPub standard. Created an also used by Fedodo.
version: 1.2.0
version: 1.2.1
repository: https://github.com/Fedodo/Fedodo.Pub.ActivityPub

environment:
Expand Down

0 comments on commit 850a6ea

Please sign in to comment.