Skip to content

Commit 3bd2472

Browse files
authored
Merge pull request #1938 from OpenEnergyPlatform/fix-update-loep-service-url
Fix outdated loep service url
2 parents 4fd7787 + 6704b45 commit 3bd2472

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

dataedit/static/metaedit/metaedit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ var MetaEdit = function(config) {
333333
window.JSONEditor.defaults.callbacks = {
334334
"autocomplete": {
335335
"search_name": function search(jseditor_editor, input) {
336-
var url = "https://openenergyplatform.org/api/v0/oeo-search?query=" + input;
336+
var url = "https://openenergyplatform.org/api/oeo-search?query=" + input;
337337

338338
return new Promise(function(resolve) {
339339
fetch(url, {
@@ -427,7 +427,7 @@ var MetaEdit = function(config) {
427427
window.JSONEditor.defaults.callbacks = {
428428
"autocomplete": {
429429
"search_name": function search(jseditor_editor, input) {
430-
var url = "https://openenergyplatform.org/api/v0/oeo-search?query=" + input;
430+
var url = "https://openenergyplatform.org/api/oeo-search?query=" + input;
431431

432432
return new Promise(function(resolve) {
433433
fetch(url, {

oeo_ext/templates/oeo_ext/partials/unit_element.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
if (query.length > 0) {
4242
// use static path here to always use the open (data seeded) endpoint for
4343
// all (local, deployed) client executions
44-
fetch(`https://openenergyplatform.org/api/v0/oeo-search?query=${query}`, {
44+
fetch(`https://openenergyplatform.org/api/oeo-search?query=${query}`, {
4545
mode: 'cors',
4646
})
4747
.then(response => response.json())

versions/changelogs/current.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
## Bugs
1010

11+
- Fix outdated service url to send requests to the LEOP from the oemetaBuilder and oeo-extended features[(#1938)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1938).
12+
1113
## Documentation updates
1214

1315
- Updated documentation to simplify usage of vendor software swagger ui and update the documentation on scenario bundles. Add documentation on how to use the updated OEKG web API [(#1928)](https://github.com/OpenEnergyPlatform/oeplatform/pull/1928).

0 commit comments

Comments
 (0)