Skip to content

Commit f00a80c

Browse files
committed
Cleanup
1 parent 4c798fc commit f00a80c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Raindrop.API/Public/Export/Export-Raindrop.ps1

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ function Export-Raindrop {
3333

3434
try {
3535
if ([string]::IsNullOrEmpty($OutFile)) {
36-
$response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get
37-
return $response
36+
Invoke-RestMethod -Uri $url -Headers $headers -Method Get
3837
}
3938
else {
4039
Invoke-WebRequest -Uri $url -Headers $headers -Method Get -OutFile $OutFile

Raindrop.API/Raindrop.API.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Global:RaindropBaseUrl = "https://api.raindrop.io/rest/v1/"
1+
$Global:RaindropBaseUrl = "https://api.raindrop.io/rest/v1"
22

33
#Get public and private function definition files.
44
$Public = @( Get-ChildItem -Path $PSScriptRoot\Public -Recurse -Filter *.ps1 -ErrorAction SilentlyContinue )

0 commit comments

Comments
 (0)