Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
strapi-setup-file
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 3dd3fd3a
authored
2022-12-07 03:30:37 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://git.logicloop.io/root/offers-backend
2 parents
65d9149d
48ccf126
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
src/api/end-user/controllers/end-user.js
src/api/end-user/services/end-user.js
src/api/end-user/controllers/end-user.js
View file @
3dd3fd3
...
...
@@ -5,8 +5,11 @@
*/
const
{
factories
}
=
require
(
"@strapi/strapi"
);
const
{
getService
}
=
require
(
"@strapi/plugin-users-permissions/server/utils"
);
const
{
getService
}
=
require
(
"@strapi/plugin-users-permissions/server/utils"
);
const
utils
=
require
(
"@strapi/utils"
);
const
{
sanitize
}
=
utils
;
const
{
ValidationError
}
=
utils
.
errors
;
module
.
exports
=
factories
.
createCoreController
(
"api::end-user.end-user"
,
({
strapi
:
Strapi
})
=>
({
...
...
src/api/end-user/services/end-user.js
View file @
3dd3fd3
"use strict"
;
const
{
default
:
axios
}
=
require
(
"axios"
);
const
axios
=
require
(
"axios"
);
/**
* end-user service
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment