Skip to content

Commit

Permalink
ah yes
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Jan 4, 2025
1 parent 0188fe9 commit bfba3c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modular_bandastation/tts/code/SSHttp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ SUBSYSTEM_DEF(http)
/// Callback for executing after async requests. Will be called with an argument of [/datum/http_response] as first argument
var/datum/callback/cb

// HACK: I have no idea why this is necessary, but it is.
/datum/http_request/into_response()
. = ..()

// HACK: I have no idea why this is necessary, but it is.
var/datum/http_response/R = .
var/static/reg = ": status code ([0-9]{3})"
var/matched = findtext(_raw_response, reg)
if (matched)
Expand Down

0 comments on commit bfba3c1

Please sign in to comment.