From 40c280f6acdd369fbba48077028152974d52155c Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Fri, 20 Jan 2023 17:50:00 +0700 Subject: [PATCH] Improved naming of output serializer url util --- ghost/core/core/server/services/mentions/service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/core/core/server/services/mentions/service.js b/ghost/core/core/server/services/mentions/service.js index 835471fc84..3afce9118c 100644 --- a/ghost/core/core/server/services/mentions/service.js +++ b/ghost/core/core/server/services/mentions/service.js @@ -10,13 +10,13 @@ const { const events = require('../../lib/common/events'); const externalRequest = require('../../../server/lib/request-external.js'); const urlUtils = require('../../../shared/url-utils'); -const url = require('../../../server/api/endpoints/utils/serializers/output/utils/url'); +const outputSerializerUrlUtil = require('../../../server/api/endpoints/utils/serializers/output/utils/url'); const labs = require('../../../shared/labs'); const urlService = require('../url'); function getPostUrl(post) { const jsonModel = {}; - url.forPost(post.id, jsonModel, {options: {}}); + outputSerializerUrlUtil.forPost(post.id, jsonModel, {options: {}}); return jsonModel.url; } module.exports = {