mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-08 08:34:20 +02:00
🔧 updating GSHEET_ID
This commit is contained in:
parent
a89f575808
commit
f88dbc36d2
@ -2,7 +2,7 @@ export default {
|
|||||||
HOST: "localhost",
|
HOST: "localhost",
|
||||||
PORT: 3000,
|
PORT: 3000,
|
||||||
API_URL: "http://localhost:3000",
|
API_URL: "http://localhost:3000",
|
||||||
GOOGLE_SHEET_ID: "1p8TDSNlgKC7sm1a_wX44NrkpWEH3-Zey1O2ZjYfPsn4",
|
GOOGLE_SHEET_ID: "1g-GB1NHLtUAQnQkbyo_5Lv6GzJ58DeOsUTrHlIVi01M",
|
||||||
APP: {
|
APP: {
|
||||||
htmlAttributes: { lang: "en" },
|
htmlAttributes: { lang: "en" },
|
||||||
title: "Force Orange",
|
title: "Force Orange",
|
||||||
|
@ -379,7 +379,7 @@ export class Sheet<
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
// Authentication
|
// Authentication
|
||||||
const doc = new GoogleSpreadsheet("1p8TDSNlgKC7sm1a_wX44NrkpWEH3-Zey1O2ZjYfPsn4")
|
const doc = new GoogleSpreadsheet("1g-GB1NHLtUAQnQkbyo_5Lv6GzJ58DeOsUTrHlIVi01M")
|
||||||
await doc.useServiceAccountAuth(JSON.parse(creds))
|
await doc.useServiceAccountAuth(JSON.parse(creds))
|
||||||
await doc.loadInfo()
|
await doc.loadInfo()
|
||||||
return doc.sheetsByTitle[this.sheetName]
|
return doc.sheetsByTitle[this.sheetName]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user