rubodog
This commit is contained in:
parent
bc6806aa89
commit
9fadeea3fe
|
@ -5,7 +5,7 @@ class InboxController < ApplicationController
|
|||
|
||||
after_action :mark_inbox_entries_as_read, only: %i[show]
|
||||
|
||||
def show # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
||||
def show # rubocop:disable Metrics/MethodLength
|
||||
find_author
|
||||
find_inbox_entries
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ module UseCase
|
|||
status: 201,
|
||||
resource: question,
|
||||
extra: {
|
||||
inbox:
|
||||
}
|
||||
inbox:,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@ module UseCase
|
|||
|
||||
def call
|
||||
question = ::Question.create!(
|
||||
content: content,
|
||||
content:,
|
||||
author_is_anonymous: false,
|
||||
author_identifier: author_identifier,
|
||||
author_identifier:,
|
||||
user: source_user,
|
||||
direct: false
|
||||
)
|
||||
|
@ -23,7 +23,7 @@ module UseCase
|
|||
|
||||
{
|
||||
status: 201,
|
||||
resource: question
|
||||
resource: question,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue