Преглед изворни кода

fix capitalization error, not sure why classes got downcased in some areas

Kylie Jo Swistak пре 4 година
родитељ
комит
80a4b1c1c7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/app_forms/app_form.rb

+ 1 - 1
app/app_forms/app_form.rb

@@ -66,7 +66,7 @@ class ApplicationForm
   end
 
   def self.to_office(event, office)
-    app = embed.convert(event.message.embeds.first)
+    app = Embed.convert(event.message.embeds.first)
     BotResponse.new(destination: office, embed: app)
   end
 end