Chore: Housekeeping tasks (#721)
- End point to return api version - Move agent bot listener to sync dispatcher - gem update
This commit is contained in:
parent
55892e37f9
commit
743bddc065
8 changed files with 59 additions and 18 deletions
8
app/controllers/api_controller.rb
Normal file
8
app/controllers/api_controller.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class ApiController < ApplicationController
|
||||
skip_before_action :set_current_user, only: [:index]
|
||||
skip_before_action :check_subscription, only: [:index]
|
||||
|
||||
def index
|
||||
render json: { version: Chatwoot.config[:version], timestamp: Time.now.utc.to_formatted_s(:db) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue