summaryrefslogtreecommitdiff
path: root/endpoint_export.go
diff options
context:
space:
mode:
Diffstat (limited to 'endpoint_export.go')
-rw-r--r--endpoint_export.go2
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
}