Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit 2afe711

Browse files
refactor(transformResponse): import from strapi (#18)
1 parent 463484f commit 2afe711

File tree

2 files changed

+1
-86
lines changed

2 files changed

+1
-86
lines changed

server/controllers/slug-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const _ = require('lodash');
44
const { getPluginService } = require('../utils/getPluginService');
5-
const { transformResponse } = require('../utils/transformEntry');
5+
const { transformResponse } = require('@strapi/strapi/lib/core-api/controller/transform');
66

77
module.exports = ({ strapi }) => ({
88
async findSlug(ctx) {

server/utils/transformEntry.js

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)