Skip to content

Commit

Permalink
Update useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Jan 20, 2025
1 parent cfb528f commit b94eb5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
invokerPackage: Aternos\ModrinthApi
artifactVersion: 2.1.2
artifactVersion: 2.1.3
generatorName: php
outputDir: .
inputSpec: https://raw.githubusercontent.com/modrinth/code/refs/heads/main/apps/docs/public/openapi.yaml
4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/2.1.2/PHP';
protected $userAgent = 'OpenAPI-Generator/2.1.3/PHP';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -434,7 +434,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: v2.7.0/15cf3fc' . PHP_EOL;
$report .= ' SDK Package Version: 2.1.2' . PHP_EOL;
$report .= ' SDK Package Version: 2.1.3' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down

0 comments on commit b94eb5e

Please sign in to comment.