%d instead %s

These are only numbers. THX @nickvergessen

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2016-10-28 10:37:08 +02:00
parent 89fc4358ba
commit 01c566883e
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -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]