Corrected compilation problems.

main
absc 2024-09-10 19:47:53 +00:00
parent b357ae8124
commit e5631798ce
2 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,8 @@
-export([auth_cookies/1]). -export([auth_cookies/1]).
-include_lib("dudeswave_backend/include/defines.hrl").
-doc """ -doc """
Get the authentication cookies from a cowboy request. Get the authentication cookies from a cowboy request.

View File

@ -231,6 +231,8 @@ user_details(Req, State) ->
{iolist_to_binary(json:encode(Data)), Req, State}. {iolist_to_binary(json:encode(Data)), Req, State}.
terminate(_Reason, _Req, _State) -> ok.
% %
% Private functions % Private functions
% %
@ -290,3 +292,4 @@ read_new_user_data(Req) ->
<<"email">> := Email} = json:decode(Data), <<"email">> := Email} = json:decode(Data),
{User, Pass, Email, Req0}. {User, Pass, Email, Req0}.