From: Muhammad Rizki <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Muhammad Rizki <[email protected]>,
Alviro Iskandar Setiawan <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Subject: [PATCH v1 0/2] Fix HTTP
Date: Tue, 11 Mar 2025 21:11:27 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
Hi sir,
This series is to fix the HTTP interceptor which for handling response,
additionally, I add a method to refetch `get_user_info` API to get the
latest users data to prevent `localStorage` manipulation during profile
form.
Give it a test for related issue, thanks.
Muhammad Rizki (2):
fix(http): only logout on 401 `Unauthorized` response
chore(profile): refetch user data on profile
src/lib/hooks/http.svelte.ts | 2 +-
.../(protected)/settings/profile/+page.ts | 34 ++++++++++++++-----
2 files changed, 27 insertions(+), 9 deletions(-)
base-commit: 39e4cd1c605ca5a47eb4b5fbb58db2ea2783fd5e
--
Muhammad Rizki
next reply other threads:[~2025-03-11 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 14:11 Muhammad Rizki [this message]
2025-03-11 14:11 ` [PATCH v1 1/2] fix(http): only logout on 401 `Unauthorized` response Muhammad Rizki
2025-03-11 14:11 ` [PATCH v1 2/2] chore(profile): refetch user data on profile Muhammad Rizki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox