Преглед на файлове

use correct embed method

Kylie Jo Swistak преди 5 години
родител
ревизия
29199b763f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/app_forms/fable_app.rb

+ 1 - 1
app/app_forms/fable_app.rb

@@ -29,7 +29,7 @@ class FableApplication < ApplicationForm
     reply = BotResponse.new(
       destination: ENV['FABLE_CH'],
       text: "Good News, <@#{fable.user_id}>! Your fable was published!",
-      embed: fable_embed(fable: fable, event: event)
+      embed: fable_embed(fable, event)
     )
 
     event.message.delete