%d instead %s
These are only numbers. THX @nickvergessen Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
89fc4358ba
commit
01c566883e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class AppFetcher extends Fetcher {
|
|||
|
||||
$versionArray = \OC_Util::getVersion();
|
||||
$this->endpointUrl = sprintf(
|
||||
'https://apps.nextcloud.com/api/v1/platform/%s.%s.%s/apps.json',
|
||||
'https://apps.nextcloud.com/api/v1/platform/%d.%d.%d/apps.json',
|
||||
$versionArray[0],
|
||||
$versionArray[1],
|
||||
$versionArray[2]
|
||||
|
|
Loading…
Reference in a new issue