@@ -231,7 +231,7 @@ |
||
| 231 | 231 | $configManager = new ConfigManager(); |
| 232 | 232 | $SETTINGS = $configManager->getAllSettings(); |
| 233 | 233 | |
| 234 | - $payload = [ |
|
| 234 | + $payload = [ |
|
| 235 | 235 | 'username' => $login, |
| 236 | 236 | 'id' => $id, |
| 237 | 237 | 'exp' => (time() + $SETTINGS['api_token_duration'] + 600), |
@@ -1151,7 +1151,7 @@ |
||
| 1151 | 1151 | (int) $dataDeleted !== 1 |
| 1152 | 1152 | || (isset($item_restored['date']) === true && (int) $item_deleted['date'] < (int) $item_restored['date']) |
| 1153 | 1153 | ) { |
| 1154 | - // Get the ITEM object key for the user |
|
| 1154 | + // Get the ITEM object key for the user |
|
| 1155 | 1155 | $itemUserTpKey = DB::queryFirstRow( |
| 1156 | 1156 | 'SELECT share_key |
| 1157 | 1157 | FROM ' . prefixTable('sharekeys_items') . ' |
@@ -360,12 +360,12 @@ |
||
| 360 | 360 | //end getAction() |
| 361 | 361 | |
| 362 | 362 | /** |
| 363 | - * Find items by URL |
|
| 364 | - * Searches for items matching a specific URL |
|
| 365 | - * |
|
| 366 | - * @param array $userData User data from JWT token |
|
| 367 | - * @return void |
|
| 368 | - */ |
|
| 363 | + * Find items by URL |
|
| 364 | + * Searches for items matching a specific URL |
|
| 365 | + * |
|
| 366 | + * @param array $userData User data from JWT token |
|
| 367 | + * @return void |
|
| 368 | + */ |
|
| 369 | 369 | public function findByUrlAction(array $userData): void |
| 370 | 370 | { |
| 371 | 371 | $request = symfonyRequest::createFromGlobals(); |