kcc-gem-theme 1.59.38 → 1.60.42

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +0,0 @@
1
- function setId(params, i) {
2
- return params.spreadsheetId = i;
3
- }
4
-
5
- function setRange(params, r) {
6
- return params.range = r;
7
- }
8
-
9
- function setSheetParameters(key, tab) {
10
- let sheetParams = {};
11
-
12
- setId(sheetParams, key);
13
- setRange(sheetParams, tab);
14
- return sheetParams;
15
- }
16
- //
17
- // USAGE:
18
- // const SHEET_KEY = '1spDfZUVLeEE5n0OFvbXl2FSJD_RmS0dSPc7CSGr1TjI'; // Long string from the URL of the Google Sheet
19
- // const TAB_NAME = 'Scholarships Count' // Name as it appears on the "tab" of the desired sheet. Usually "Sheet1", "Sheet2", etc. if not renamed.
20
- //
21
- // const sheetParams = setSheetParameters(SHEET_KEY, TAB_NAME);
22
- //
23
- export default setSheetParameters;