← All changes
|
backend/src/Controllers/GoogleSheets/GoogleSheetsListSpreadsheetsController.php
+7
-0
1.4
→
1.5
View file →
| @@ -8,8 +8,15 @@ | ||
| 8 | 8 | use IvyForms\Services\GoogleSheets\GoogleSheetsService; |
| 9 | 9 | use WP_REST_Request; |
| 10 | 10 | use WP_REST_Response; |
| 11 | 11 | |
| 12 | +/** | |
| 13 | + * Legacy spreadsheet list. The form builder selects a spreadsheet through the | |
| 14 | + * Google Picker and no longer calls this route. A drive.file token cannot list | |
| 15 | + * the user's spreadsheets, so the response is often empty. | |
| 16 | + * | |
| 17 | + * @deprecated Prefer the picker-config endpoint and the Picker UI. | |
| 18 | + */ | |
| 12 | 19 | class GoogleSheetsListSpreadsheetsController extends Controller |
| 13 | 20 | { |
| 14 | 21 | private GoogleSheetsService $googleSheetsService; |
| 15 | 22 | |