Fix updating Google Spreadsheet after uploading CSV
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
65dcc978c1
commit
8996fc2cca
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue