Skip to content

Commit

Permalink
gotify notifier updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Jul 10, 2020
1 parent 1d3d0ce commit 2ec7c8e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cmd/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ func importCli(args []string) error {

if exportData.Config != nil {
if ask("Create config.yml file from Configs?") {
log.Printf("Database User: %s\n", exportData.Config.DbUser)
log.Printf("Database Host: %s\n", exportData.Config.DbHost)
log.Printf("Database Port: %d\n", exportData.Config.DbPort)
log.Printf("Database User: %s\n", exportData.Config.DbUser)
log.Printf("Database Password: %s\n", exportData.Config.DbPass)
log.Printf("Database Host: %s\n", exportData.Config.DbHost)
log.Printf("Database Port: %d\n", exportData.Config.DbPort)
if err := exportData.Config.Save(utils.Directory); err != nil {
return err
}
Expand Down
1 change: 0 additions & 1 deletion frontend/src/icons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {library} from '@fortawesome/fontawesome-svg-core'
import {fas} from '@fortawesome/fontawesome-free-solid';
import {fab} from '@fortawesome/free-brands-svg-icons';
import {far} from '@fortawesome/fontawesome-svg-core';
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome'
import Vue from "vue";

Expand Down
2 changes: 2 additions & 0 deletions frontend/src/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ export default Vue.mixin({
return "bell"
case "fas fa-mobile-alt":
return "mobile"
case "fa dot-circle":
return ["fa", "dot-circle"]
case "fas envelope-square":
return ["fas", "envelope-square"]
case "fab fa-slack":
Expand Down
2 changes: 1 addition & 1 deletion notifiers/gotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var Gotify = &gotify{&notifications.Notification{
Description: "Use Gotify to receive push notifications. Add your Gotify URL and App Token to receive notifications.",
Author: "Hugo van Rijswijk",
AuthorUrl: "https://github.com/hugo-vrijswijk",
Icon: "fa dot-circle",
Icon: "broadcast-tower",
Delay: time.Duration(5 * time.Second),
Limits: 60,
SuccessData: `{"title": "{{.Service.Name}}", "message": "Your service '{{.Service.Name}}' is currently online!", "priority": 2}`,
Expand Down

0 comments on commit 2ec7c8e

Please sign in to comment.