Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
4d8b1102
Commit
4d8b1102
authored
Mar 18, 2019
by
Phil Höfer
Browse files
Fix API Error
parent
c51b467f
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
4d8b1102
...
...
@@ -210,7 +210,7 @@ class MetaGer
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'key'
=>
$this
->
apiKey
,
'apiAuthorized'
=>
$this
->
apiAuthorized
])
->
header
(
'Content-Type'
,
'application/xml'
);
break
;
case
'atom10'
:
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'apiAuthorized'
=>
true
])
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'key'
=>
$this
->
apiKey
,
'apiAuthorized'
=>
true
])
->
header
(
'Content-Type'
,
'application/xml'
);
break
;
case
'result-count'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment