Everywhere: Use session->path()

This commit is contained in:
Alec Murphy 2025-02-21 18:10:25 -05:00
parent ff5a07dc04
commit 66074a5472
31 changed files with 48 additions and 48 deletions

View file

@ -4,7 +4,7 @@ U0 @slon_web_user_get(SlonHttpSession* session)
no_warn scratch_buffer, request_json;
I64 path_segments_count = 0;
U8** path_segments = String.Split(StrFind("@", @slon_http_request_path(session)) + 1, '/', &path_segments_count);
U8** path_segments = String.Split(StrFind("@", session->path()) + 1, '/', &path_segments_count);
U8* user = path_segments[0];