Various styling changes

This commit is contained in:
maru committed 2024-04-08 18:15:09 -04:00
1 parent 80a2c637d2
commit 0edfeab3ca
7 files changed
+73 -62

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ func FetchAccountKeySaltFromUsername(username string) ([]byte, []byte, error) {
return key, salt, nil
}
func FetchUuidFromToken(token []byte) ([]byte, error) {
func FetchUUIDFromToken(token []byte) ([]byte, error) {
var uuid []byte
err := handle.QueryRow("SELECT uuid FROM sessions WHERE token = ? AND expire > UTC_TIMESTAMP()", token).Scan(&uuid)
if err != nil {