Fixed example.
This commit is contained in:
parent
7c7c33b716
commit
95428c22f8
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ fun main(args: Array<String>) {
|
|||
PinboardPoster(
|
||||
Properties().apply {
|
||||
Files.newInputStream(properties).use { fis -> load(fis) }
|
||||
}.getProperty(ENV_API_TOKEN, "")
|
||||
}
|
||||
)
|
||||
else ->
|
||||
// API Token is an environment variable (PINBOARD_API_TOKEN) or empty;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue