Closed jeffplays2005 closed 3 weeks ago
Visit the preview URL for this PR (updated for commit 3cbb246):
https://uasc-ceebc--pr791-783-backend-write-a-qbsu1xfl.web.app
(expires Sat, 12 Oct 2024 10:31:27 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa
Added some documentation in here:
https://github.com/UoaWDCC/uasc-web/wiki/Deployment-Information#google-sheet-members-action
have you tested the function by running
ts-node
locally?do we fetch all users and not check if they're members?
For documentation in this branch:
Updated secrets
Still semi-draft...
*. Update dependencies in server workspace
package.json
fetchUsers
method that fetches users from the backendgetAllUsers
that fetches all the users from the backend usingfetchUsers
authenticateGoogle
method that returns a google auth clientappendToGoogleSheet
andclearSheet
appendToGoogleSheet
takes in the logs and auth client and updates the google sheet rowsclearSheet
clears the google sheet so thatappendToGoogleSheet
doesn't overlap everything