%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

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]