Skip to content

Commit

Permalink
Change SetOwned to use path settings (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Oct 31, 2020
1 parent cf8f8a4 commit 4d43983
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Javinizer/Public/Javinizer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,13 @@ function Javinizer {

'Javlibrary' {
try {
if (!($Path)) {
$Path = $Settings.'location.input'
if ($null -eq $Path -or $Path -eq '') {
$Path = (Get-Location).Path
}
}

$javlibraryBaseUrl = $Settings.'javlibrary.baseurl'
$request = Invoke-WebRequest -Uri "$javlibraryBaseUrl/en/mv_owned_print.php" -WebSession $CfSession -UserAgent $CfSession.UserAgent -Verbose:$false -Headers @{
"method" = "GET"
Expand Down

0 comments on commit 4d43983

Please sign in to comment.