Ghost/ghost/members-api
Fabien 'egg' O'Carroll 1c017c7b7d Used FOR UPDATE lock for linkSubscription reads (#383)
refs https://github.com/TryGhost/Team/issues/1248
refs https://github.com/TryGhost/Team/issues/1302

This fixes the issue with duplicate subscriptions being inserted because
concurrent calls to linkSubscription did not have rows locked.

It is also required to make sure we do not create duplicate cancellation events.
2022-04-07 15:12:55 +01:00
..
lib Used FOR UPDATE lock for linkSubscription reads (#383) 2022-04-07 15:12:55 +01:00
test 🐛 Fixed member responses not including complimentary subs when canceled subs exist 2022-03-18 10:47:24 +00:00
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Fixed index.js require 2021-07-15 18:06:45 +01:00
package.json Published new versions 2022-04-06 15:45:28 +05:30