mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Fixed extra parameter to function
- `serializeTier` only takes 2 parameters - flagged by tsserver
This commit is contained in:
parent
f72d7b77ac
commit
efc59dd315
@ -20,7 +20,7 @@ module.exports = {
|
||||
function paginatedTiers(page, _apiConfig, frame) {
|
||||
return {
|
||||
tiers: page.data.map((model) => {
|
||||
return serializeTier(model, frame.options, frame);
|
||||
return serializeTier(model, frame.options);
|
||||
}),
|
||||
meta: page.meta
|
||||
};
|
||||
@ -36,7 +36,7 @@ function paginatedTiers(page, _apiConfig, frame) {
|
||||
function singleTier(model, _apiConfig, frame) {
|
||||
return {
|
||||
tiers: [
|
||||
serializeTier(model, frame.options, frame)
|
||||
serializeTier(model, frame.options)
|
||||
]
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user