Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
smugmug_api
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
project
smugmug_api
Merge requests
!3
Issue
#3168940
: Cache is not returning proper results when there are no query arguments passed to the request
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3168940
: Cache is not returning proper results when there are no query arguments passed to the request
issue/smugmug_api-3168940:3168940-cache-is-not
into
8.x-1.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Omar Mohamad - El Hassan Lopesino
requested to merge
issue/smugmug_api-3168940:3168940-cache-is-not
into
8.x-1.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (base)
and
latest version
latest version
18d19e13
1 commit,
3 years ago
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/Service/Client.php
+
4
−
1
Options
@@ -135,13 +135,16 @@ class Client {
*
* @param array $args
* Args to request.
* @param string $method
* Method called in the request.
*
* @return array
* Return the args array.
*/
private
function
buildArgs
(
array
$args
)
{
private
function
buildArgs
(
array
$args
,
$method
)
{
// Add in additional parameters then sort them for signing.
$args
[
'APIKey'
]
=
$this
->
api_key
;
$args
[
'method'
]
=
$method
;
ksort
(
$args
);
return
$args
;
Loading