about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-09 12:42:01 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-09 12:42:11 +0200
commitff77767ed4d9e2a1ed1ad8c2951127340d97f345 (patch)
tree11f39d9ffcd0106ef9885990f62995d2ebc7bb32
parentbc6f921a20925ae761cbf9c8ff4c8592218aca10 (diff)
downloadchawan-ff77767ed4d9e2a1ed1ad8c2951127340d97f345.tar.gz
remove obsolete comment
-rw-r--r--src/io/request.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/io/request.nim b/src/io/request.nim
index 8e1df806..675ea048 100644
--- a/src/io/request.nim
+++ b/src/io/request.nim
@@ -254,7 +254,6 @@ proc fromJS2*(ctx: JSContext, val: JSValue, res: var JSResult[BodyInit]) =
       return
   res.err(newTypeError("Invalid body init type"))
 
-#TODO init as an actual dictionary
 func newRequest*[T: string|Request](ctx: JSContext, resource: T,
     init = none(RequestInit)): JSResult[Request] {.jsctor.} =
   when T is string: