Skip to content

Commit 42e1993

Browse files
committed
return storage URL
1 parent bb68f9a commit 42e1993

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/Routes/SolidStorageProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ public static function respondToStorageNew() {
3333

3434
//Mailer::sendStorageCreated($createdStoage);
3535

36+
$storageUrl = "https://storage-" . $createdStorage['storageId'] . "." . BASEDOMAIN . "/";
37+
3638
$responseData = array(
37-
"storageId" => $createdStorage['storageId']
39+
"storage" => $storageUrl
3840
);
3941
header("HTTP/1.1 201 Created");
4042
header("Content-type: application/json");

0 commit comments

Comments
 (0)