mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Removed references to Offers labs flag
refs https://github.com/TryGhost/Team/issues/1115 This flag is now enabled by default - so we can clean up all uses of it.
This commit is contained in:
parent
39c31b1824
commit
a9871f1ab9
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ module.exports = class RouterController {
|
|||
}
|
||||
|
||||
let couponId = null;
|
||||
if (offerId && this.labsService.isSet('offers')) {
|
||||
if (offerId) {
|
||||
try {
|
||||
const offer = await this._offersAPI.getOffer({id: offerId});
|
||||
const tier = (await this._productRepository.get(offer.tier)).toJSON();
|
||||
|
|
Loading…
Add table
Reference in a new issue