Skip to content

Commit

Permalink
fix: public endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Sep 9, 2024
1 parent f74f9f9 commit a95660a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/nostrnip5/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h3>Important!</h3>

axios
.post(
'/nostrnip5/api/v1/user/domain/' + this.domain_id + '/address',
'/nostrnip5/api/v1/public/domain/' + this.domain_id + '/address',
formDialog.data
)
.then(function (response) {
Expand Down
2 changes: 1 addition & 1 deletion views_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ async def api_request_public_user_address(
temp_user_id = rotation_secret_prefix + uuid4().hex

resp = await request_user_address(
domain, address_data, wallet_id, user_id or temp_user_id
domain, address_data, wallet_id or "", user_id or temp_user_id
)
if not user_id:
resp["rotation_secret"] = temp_user_id
Expand Down

0 comments on commit a95660a

Please sign in to comment.