change key token

This commit is contained in:
olegphenomenon 2021-09-09 11:07:23 +03:00
parent 62ce5ff561
commit 11b7a13cf3
4 changed files with 7 additions and 14 deletions

View file

@ -4,7 +4,7 @@ module Repp
class AccreditationResultsController < ActionController::API
before_action :authenticate_shared_key
TEMPORARY_SECRET_KEY = 'temporary-secret-key'.freeze
TEMPORARY_SECRET_KEY = ENV['accreditation_secret'].freeze
api :POST, 'repp/v1/registrar/accreditation/push_results'
desc 'added datetime results'