Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
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 f707f55f
authored
2024-09-27 14:11:52 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated zango to triplyst
1 parent
0ccfef05
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
src/admin/app.js
src/api/vendor/controllers/vendor.js
src/api/vendor/services/vendor.js
src/admin/app.js
View file @
f707f55
...
...
@@ -18,10 +18,10 @@ const config = {
notifications
:
{
releases
:
false
},
translations
:
{
en
:
{
"app.components.LeftMenu.navbrand.title"
:
"
Zango
"
,
"app.components.LeftMenu.navbrand.title"
:
"
Zango"
,
"app.components.LeftMenu.navbrand.title"
:
"
Triplyst
"
,
"app.components.LeftMenu.navbrand.title"
:
"
Triplyst"
,
"app.components.LeftMenu.navbrand.subtitle"
:
""
,
"Auth.form.welcome.title"
:
"Welcome to
Zango
"
,
"Auth.form.welcome.title"
:
"Welcome to
Triplyst
"
,
"Auth.form.welcome.subtitle"
:
"Log in to your App"
}
},
...
...
src/api/vendor/controllers/vendor.js
View file @
f707f55
...
...
@@ -211,7 +211,7 @@ module.exports = createCoreController("api::vendor.vendor", () => ({
var
email
=
{
body
:
{
name
:
ctx
.
request
.
body
.
name
,
intro
:
"Welcome to
Zango
! We're very excited to have you on board."
,
intro
:
"Welcome to
Triplyst
! We're very excited to have you on board."
,
action
:
{
instructions
:
"To get started with signup, please confirm the OTP:"
,
button
:
{
...
...
@@ -259,7 +259,7 @@ module.exports = createCoreController("api::vendor.vendor", () => ({
async
addVendorId
(
ctx
)
{
try
{
// console.log(ctx.request.body)
}
catch
(
error
)
{}
}
catch
(
error
)
{
}
},
async
removedirectory
(
ctx
)
{
...
...
src/api/vendor/services/vendor.js
View file @
f707f55
...
...
@@ -70,8 +70,7 @@ module.exports = createCoreService(
let
statefinal
;
if
(
!
matchingCountries
||
matchingCountries
.
length
===
0
)
{
console
.
log
(
`Unable to resolve a country with name
${
state
.
country
`Unable to resolve a country with name
${
state
.
country
},
skipping
creation
of
state
$
{
JSON
.
stringify
(
state
)}
`
);
}
else
{
...
...
@@ -117,8 +116,7 @@ module.exports = createCoreService(
if
(
false
)
{
console
.
log
(
`Unable to resolve a state with name
${
city
.
state
`Unable to resolve a state with name
${
city
.
state
},
skipping
creation
of
city
$
{
JSON
.
stringify
(
city
)}
`
);
}
else
{
...
...
@@ -280,7 +278,7 @@ module.exports = createCoreService(
var
email
=
{
body
:
{
name
:
data
.
name
,
intro
:
"Welcome to
Zango
! We're very excited to have you on board."
,
intro
:
"Welcome to
Triplyst
! We're very excited to have you on board."
,
action
:
{
instructions
:
"To get started with signup, please confirm the OTP:"
,
button
:
{
...
...
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