Skip to content

Commit 052c056

Browse files
committed
Linter fixes
1 parent d9a9963 commit 052c056

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/models/salesforce/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# # frozen_string_literal: true
1+
# frozen_string_literal: true
22

33
module Salesforce
44
class Base < ApplicationRecord

app/models/school.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ class School < ApplicationRecord
5151

5252
# TODO: Remove the conditional once the feature flag is retired
5353
after_create :generate_code!, if: -> { FeatureFlags.immediate_school_onboarding? }
54-
54+
5555
# After creation, sync the School to Salesforce.
56-
after_commit :do_salesforce_sync, on: [:create, :update]
56+
after_commit :do_salesforce_sync, on: %i[create update]
5757

5858
def self.find_for_user!(user)
5959
school = Role.find_by(user_id: user.id)&.school || find_by(creator_id: user.id)

0 commit comments

Comments
 (0)