nickva commented on code in PR #5805:
URL: https://github.com/apache/couchdb/pull/5805#discussion_r2585717452


##########
src/nouveau/src/nouveau_bookmark.erl:
##########
@@ -50,15 +50,16 @@ unpack(_DbName, Empty) when Empty == undefined; Empty == 
nil; Empty == null ->
 unpack(DbName, PackedBookmark) when is_list(PackedBookmark) ->
     unpack(DbName, list_to_binary(PackedBookmark));
 unpack(DbName, PackedBookmark) when is_binary(PackedBookmark) ->
-    Bookmark = jiffy:decode(b64url:decode(PackedBookmark), [return_maps]),
+    Bookmark = jiffy:decode(base64:decode_url(PackedBookmark), [return_maps]),

Review Comment:
   > Bookmark = jiffy:decode(base64:decode_url(PackedBookmark), [return_maps]),
   
   Just curious, was this AI generated? There is no decode_url function in 
base64 module?
   
   [1] https://www.erlang.org/doc/apps/stdlib/base64.html



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to