Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
johnkiddjr.com
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
John Kidd Jr
johnkiddjr.com
Merge requests
!18
Feature/contact page data
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature/contact page data
feature/contact-page-data
into
develop
Overview
0
Commits
3
Pipelines
1
Changes
4
Merged
John Kidd Jr
requested to merge
feature/contact-page-data
into
develop
2 years ago
Overview
0
Commits
3
Pipelines
1
Changes
4
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
244bb49d
3 commits,
2 years ago
4 files
+
38
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
ui/src/services/ContactService.ts
+
10
−
5
Options
import
get
from
'
axios
'
;
export
default
function
getContactPage
()
{
get
(
`
${
process
.
env
.
VUE_APP_API_ENDPOINT
}
/api/contact`
)
.
then
((
response
)
=>
response
)
.
catch
((
error
)
=>
console
.
log
(
error
));
}
const
getContactPage
=
async
()
=>
{
try
{
const
{
data
:
response
}
=
await
get
(
`
${
process
.
env
.
VUE_APP_API_ENDPOINT
}
/api/contact`
);
return
response
;
}
catch
(
error
)
{
return
error
;
}
};
export
default
getContactPage
;
Loading