Fix updating Google Spreadsheet after uploading CSV

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-06 10:39:08 +02:00
parent 65dcc978c1
commit 8996fc2cca
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ class PoolUploadNotesView(VolunteerMixin, FormView, DetailView):
note.save() note.save()
if os.getenv('GOOGLE_PRIVATE_KEY_ID', None): if os.getenv('GOOGLE_PRIVATE_KEY_ID', None):
pool.update_notes_spreadsheet() pool.update_spreadsheet()
messages.success(self.request, _("Notes were successfully uploaded.")) messages.success(self.request, _("Notes were successfully uploaded."))
return super().form_valid(form) return super().form_valid(form)