Skip to content

Commit

Permalink
Merge pull request #36 from Hipjea/dev
Browse files Browse the repository at this point in the history
create_statement returns statement
  • Loading branch information
Hipjea authored Jan 8, 2025
2 parents adbf413 + 03467ff commit e724d3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/jobs/rails_xapi/create_statement_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ class RailsXapi::CreateStatementJob < ApplicationJob

def perform(statement)
statement.save if statement.present?

{status: 200, statement: statement}
end
end

0 comments on commit e724d3e

Please sign in to comment.