Skip to content

Commit

Permalink
CMR-10141-1: Fixing broken build (#2189)
Browse files Browse the repository at this point in the history
* CMR-10141-1: Fixing broken build

* CMR-10141-1: Fixing broken build
  • Loading branch information
eereiter authored Nov 12, 2024
1 parent 9445088 commit 6a7e069
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@
(is (= (dissoc (expected-concept concept) :coll-concept-id)
(dissoc stored-concept :revision-date :transaction-id :created-at :coll-concept-id)))
(is (= (expected-concept concept)
(dissoc stored-concept :revision-date :transaction-id :created-at))))))
(util/dissoc-in
(dissoc stored-concept :revision-date :transaction-id :created-at)
[:extra-fields :aws-arn]))))))

(defn is-tag-association-deleted?
"Returns if the ta is marked as deleted in metadata-db"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
(if (sub-note/subscription-exists? db subscription-id)
(if (sub-note/sub-notification-exists? db subscription-id)
(sub-note/update-sub-notification db subscription-id last-notified-time)
(sub-note/save-sub-notification db subscription-id))
(do
(sub-note/save-sub-notification db subscription-id)
(sub-note/update-sub-notification db subscription-id last-notified-time)))
(errors/throw-service-error :not-found (msg/subscription-not-found subscription-id))))

(defn update-subscription-notification
Expand Down

0 comments on commit 6a7e069

Please sign in to comment.