Skip to content

Commit fcb499b

Browse files
committed
fix: event issue
1 parent a461a59 commit fcb499b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Tags/GithubGraph.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,7 @@ public static function js()
206206

207207
$options['targetId'] = $id;
208208

209-
if (self::$eventType !== null) {
210-
$options['eventType'] = self::$eventType;
211-
}
209+
$options['eventType'] = self::$eventType ?? 'gradient';
212210

213211
if (self::$title !== null) {
214212
$options['title'] = self::$title;

0 commit comments

Comments
 (0)