diff options
-rw-r--r-- | endpoint_export.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/endpoint_export.go b/endpoint_export.go index cf824bb..3c8c36e 100644 --- a/endpoint_export.go +++ b/endpoint_export.go @@ -112,7 +112,7 @@ func handleExport(w http.ResponseWriter, req *http.Request) { } before, _, found := strings.Cut(currentUserEmail, "@") if found { - currentStudentID = before + currentStudentID, _ = strings.CutPrefix(before, "s") } else { currentStudentID = currentUserEmail } |