Skip to content

Commit 153e83a

Browse files
committed
docs: add deprecation notice for user registration api
1 parent 3a14e54 commit 153e83a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/routes/api.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const routes: { noauth: RouteInfo[]; auth: RouteInfo[] } = {
7474
{
7575
path: `users/register`,
7676
method: 'POST',
77+
deprecationNotice: 'Use a POST to users/ instead',
7778
},
7879
{
7980
path: `users/request-password-reset`,
@@ -91,6 +92,10 @@ const routes: { noauth: RouteInfo[]; auth: RouteInfo[] } = {
9192
path: `users/sign-in`,
9293
method: 'POST',
9394
},
95+
{
96+
path: `users`,
97+
method: 'POST',
98+
},
9499
],
95100
auth: [
96101
{

0 commit comments

Comments
 (0)