0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/server
Hannah Wolfe 499bb293c9
Fixed urlUtils usage in member config provider
- This is preparation work for getting rid of API versions
- The existing code used api versions for members, but the members API is not versioned
- This caused a bug as issuer was begin set to {{admin_url}}/ghost/api/undefined
- The updated code returns the correct value and is unit tested
- Whilst cleaning up I also swapped the usage of urlUtils to consistently use urlFor, as that is our main helper
2022-05-03 21:07:04 +01:00
..
adapters
data Revert "Dropped nullable from subscribe events' newsletter id (#14598)" 2022-04-27 20:01:32 +01:00
lib Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
models Updated newsletter sender name column as nullable (#14476) 2022-04-14 17:42:20 +05:30
services Fixed urlUtils usage in member config provider 2022-05-03 21:07:04 +01:00
web Removed res.locals.apiVersion 2022-04-28 15:35:28 +01:00
notify.test.js
overrides.test.js