Fixed wrong HTTP code
500 should be 401
This commit is contained in:
parent
77b9ee9937
commit
2a65379a19
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ class IcalTicketsController < ApplicationController
|
|||
# @parameter action_token(required) [String] The action_token identifying the requested User privileged for 'iCal' action.
|
||||
#
|
||||
# @response_message 200 [String] iCal file ready to import in calendar applications.
|
||||
# @response_message 500 Permission denied.
|
||||
# @response_message 401 Permission denied.
|
||||
def all
|
||||
|
||||
new_open_events_data = new_open_events_data_get
|
||||
|
@ -31,7 +31,7 @@ class IcalTicketsController < ApplicationController
|
|||
# @parameter action_token(required) [String] The action_token identifying the requested User privileged for 'iCal' action.
|
||||
#
|
||||
# @response_message 200 [String] iCal file ready to import in calendar applications.
|
||||
# @response_message 500 Permission denied.
|
||||
# @response_message 401 Permission denied.
|
||||
def new_open
|
||||
|
||||
events_data = new_open_events_data_get
|
||||
|
@ -46,7 +46,7 @@ class IcalTicketsController < ApplicationController
|
|||
# @parameter action_token(required) [String] The action_token identifying the requested User privileged for 'iCal' action.
|
||||
#
|
||||
# @response_message 200 [String] iCal file ready to import in calendar applications.
|
||||
# @response_message 500 Permission denied.
|
||||
# @response_message 401 Permission denied.
|
||||
def pending
|
||||
events_data = pending_events_data_get
|
||||
|
||||
|
@ -60,7 +60,7 @@ class IcalTicketsController < ApplicationController
|
|||
# @parameter action_token(required) [String] The action_token identifying the requested User privileged for 'iCal' action.
|
||||
#
|
||||
# @response_message 200 [String] iCal file ready to import in calendar applications.
|
||||
# @response_message 500 Permission denied.
|
||||
# @response_message 401 Permission denied.
|
||||
def escalation
|
||||
events_data = escalation_events_data_get
|
||||
|
||||
|
|
Loading…
Reference in a new issue