File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -83,15 +83,14 @@ public function getLatestTag(?string $repository = null): string
8383 protected function fetchLatestTag (string $ repository ): ?string
8484 {
8585 try {
86- $ response = Http::when (config ('filament-easy-footer.github.token ' ),fn ($ request ) => $ request ->withToken ($ this ->token ))
86+ $ response = Http::when (config ('filament-easy-footer.github.token ' ), fn ($ request ) => $ request ->withToken ($ this ->token ))
8787 ->get ("https://api.github.com/repos/ {$ repository }/releases/latest " );
8888
89-
9089 if ($ response ->successful ()) {
9190 return $ response ->json ('tag_name ' );
9291 }
9392
94- $ tagsResponse = Http::when (config ('filament-easy-footer.github.token ' ),fn ($ request ) => $ request ->withToken ($ this ->token ))
93+ $ tagsResponse = Http::when (config ('filament-easy-footer.github.token ' ), fn ($ request ) => $ request ->withToken ($ this ->token ))
9594 ->get ("https://api.github.com/repos/ {$ repository }/tags " );
9695
9796 if ($ tagsResponse ->successful () && ! empty ($ tagsResponse ->json ())) {
You can’t perform that action at this time.
0 commit comments