style(ntfy): fix bracket-spacing lint offenses
This commit is contained in:
@@ -63,7 +63,7 @@ class ApiKey < ApplicationRecord
|
||||
title: "API key revoked",
|
||||
message: "API key '#{name}' (#{key_prefix}...) was revoked",
|
||||
priority: 3,
|
||||
tags: ["key", "no_entry"])
|
||||
tags: [ "key", "no_entry" ])
|
||||
end
|
||||
|
||||
# Deactivate expired keys
|
||||
|
||||
@@ -45,7 +45,7 @@ class Gateway < ApplicationRecord
|
||||
title: "Gateway online",
|
||||
message: "#{name} (#{device_id}) came back online",
|
||||
priority: 3,
|
||||
tags: ["white_check_mark"],
|
||||
tags: [ "white_check_mark" ],
|
||||
click: nil)
|
||||
end
|
||||
end
|
||||
@@ -60,7 +60,7 @@ class Gateway < ApplicationRecord
|
||||
title: "Gateway offline",
|
||||
message: "#{name} (#{device_id}) went offline",
|
||||
priority: 4,
|
||||
tags: ["rotating_light"])
|
||||
tags: [ "rotating_light" ])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class SmsMessage < ApplicationRecord
|
||||
title: "SMS delivered",
|
||||
message: "Message to #{phone_number} (#{message_id}) was delivered",
|
||||
priority: 2,
|
||||
tags: ["white_check_mark"])
|
||||
tags: [ "white_check_mark" ])
|
||||
end
|
||||
|
||||
# Mark message as failed
|
||||
@@ -71,7 +71,7 @@ class SmsMessage < ApplicationRecord
|
||||
title: "SMS failed",
|
||||
message: "Message to #{phone_number} (#{message_id}) failed#{error_msg ? ": #{error_msg}" : ''}",
|
||||
priority: 5,
|
||||
tags: ["x", "rotating_light"])
|
||||
tags: [ "x", "rotating_light" ])
|
||||
end
|
||||
|
||||
# Increment retry counter
|
||||
|
||||
Reference in New Issue
Block a user