Skip to content

Commit c1b8283

Browse files
committed
Set null user id and null project id for compileAction.
1 parent f31c643 commit c1b8283

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Symfony/src/Codebender/ApiBundle/Controller/DefaultController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ public function compileAction($auth_key, $version)
9292

9393
$files = $contents["files"];
9494

95+
$files[] = array('filename' => 'user_null.txt', 'content' => '');
96+
$files[] = array('filename' => 'null.txt', 'content' => '');
97+
9598
$userlibs = array();
9699
if (array_key_exists('libraries', $contents))
97100
$userlibs = $contents['libraries'];

0 commit comments

Comments
 (0)