diff --git a/src/clj/auto_ap/graphql/checks.clj b/src/clj/auto_ap/graphql/checks.clj index 02b02380..722c4373 100644 --- a/src/clj/auto_ap/graphql/checks.clj +++ b/src/clj/auto_ap/graphql/checks.clj @@ -258,7 +258,7 @@ :check (str (+ index (:bank-account/check-number bank-account))) :memo memo :date (date->str (local-now)) - :client (dissoc client :client/bank-accounts :client/locked-until :client/emails) + :client (dissoc client :client/bank-accounts :client/locked-until :client/emails :client/square-auth-token :client/square-locations) :bank-account (dissoc bank-account :bank-account/start-date) #_#_:client {:name (:name client) :address (:address client) diff --git a/src/clj/auto_ap/routes/auth.clj b/src/clj/auto_ap/routes/auth.clj index d7078c73..83470192 100644 --- a/src/clj/auto_ap/routes/auth.clj +++ b/src/clj/auto_ap/routes/auth.clj @@ -46,7 +46,7 @@ (let [jwt (jwt/sign {:user (:name profile) :exp (time/plus (time/now) (time/days 30)) :user/clients (map (fn [c] - (dissoc c :client/bank-accounts :client/location-matches :client/forecasted-transactions :client/matches :client/week-a-debits :client/week-a-credits :client/week-b-debits :client/week-b-credits :client/signature-file :client/address :client/emails)) + (dissoc c :client/bank-accounts :client/location-matches :client/forecasted-transactions :client/matches :client/week-a-debits :client/week-a-credits :client/week-b-debits :client/week-b-credits :client/signature-file :client/address :client/emails :client/square-auth-token :client/square-locations)) (:user/clients user)) :user/role (name (:user/role user)) :user/name (:name profile)}