Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
82c5eb1b
Verified
Commit
82c5eb1b
authored
8 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
WIP
parent
cd3f0e67
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dbrepo-ui/api/so.api.service.js
+3
-3
3 additions, 3 deletions
dbrepo-ui/api/so.api.service.js
with
3 additions
and
3 deletions
dbrepo-ui/api/so.api.service.js
+
3
−
3
View file @
82c5eb1b
...
@@ -10,7 +10,7 @@ export default class SOApiService {
...
@@ -10,7 +10,7 @@ export default class SOApiService {
body
:
JSON
.
stringify
(
_body
),
body
:
JSON
.
stringify
(
_body
),
};
};
return
await
fetch
(
'
http://localhost/api/semantic/
'
+
url_method
,
requestOptions
)
return
await
fetch
(
'
http://localhost
:5000
/api/semantic/
'
+
url_method
,
requestOptions
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
return
response
;
return
response
;
...
@@ -29,7 +29,7 @@ export default class SOApiService {
...
@@ -29,7 +29,7 @@ export default class SOApiService {
referrerPolicy
:
'
no-referrer
'
,
referrerPolicy
:
'
no-referrer
'
,
};
};
return
await
fetch
(
'
http://localhost/api/semantic/
'
+
url_method
+
"
?schema_id=
"
+
schema_id
+
"
&source_filter=
"
+
source_filter
+
"
&target_filter=
"
+
target_filter
,
requestOptions
)
return
await
fetch
(
'
http://localhost
:5000
/api/semantic/
'
+
url_method
+
"
?schema_id=
"
+
schema_id
+
"
&source_filter=
"
+
source_filter
+
"
&target_filter=
"
+
target_filter
,
requestOptions
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
return
response
;
return
response
;
...
@@ -38,4 +38,4 @@ export default class SOApiService {
...
@@ -38,4 +38,4 @@ export default class SOApiService {
return
error
;
return
error
;
});
});
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment