chore: fixed typos in code comments (#1701)
This commit is contained in:
@@ -12,7 +12,7 @@ class Api::V1::Widget::ContactsController < Api::V1::Widget::BaseController
|
||||
|
||||
def process_hmac
|
||||
return if params[:identifier_hash].blank?
|
||||
raise StandardError, 'HMAC failed: Invalid Identifer Hash Provided' unless valid_hmac?
|
||||
raise StandardError, 'HMAC failed: Invalid Identifier Hash Provided' unless valid_hmac?
|
||||
|
||||
@contact_inbox.update(hmac_verified: true)
|
||||
end
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
this.showAlert(this.$t('LOGIN.API.SUCCESS_MESSAGE'));
|
||||
})
|
||||
.catch(response => {
|
||||
// Reset URL Params if the authenication is invalid
|
||||
// Reset URL Params if the authentication is invalid
|
||||
if (this.email) {
|
||||
window.location = '/app/login';
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ class ApplicationMailer < ActionMailer::Base
|
||||
|
||||
def send_mail_with_liquid(*args)
|
||||
mail(*args) do |format|
|
||||
# explored sending a multipart email containg both text type and html
|
||||
# explored sending a multipart email containing both text type and html
|
||||
# parsing the html with nokogiri will remove the links as well
|
||||
# might also remove tags like b,li etc. so lets rethink about this later
|
||||
# format.text { Nokogiri::HTML(render(layout: false)).text }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This concern is primarily targetted for business models dependant on external services
|
||||
# This concern is primarily targeted for business models dependent on external services
|
||||
# The auth tokens we obtained on their behalf could expire or becomes invalid.
|
||||
# We would be aware of it until we make the API call to the service and it throws error
|
||||
|
||||
@@ -25,7 +25,7 @@ module Reauthorizable
|
||||
::Redis::Alfred.get(authorization_error_count_key).to_i
|
||||
end
|
||||
|
||||
# action to be performed when we recieve authorization errors
|
||||
# action to be performed when we receive authorization errors
|
||||
# Implement in your exception handling logic for authorization errors
|
||||
def authorization_error!
|
||||
::Redis::Alfred.incr(authorization_error_count_key)
|
||||
|
||||
Reference in New Issue
Block a user