Commit Graph

13 Commits

Author SHA1 Message Date
Linus Flood
de22d873a1 Refactor 2024-11-22 13:25:57 +01:00
Pontus Dreij
7b36139684 feat(sw-453): implemented filter from packages 2024-10-29 11:10:27 +01:00
Michael Zetterberg
d5abe13a7e fix: add feature flag for service token scopes 2024-10-23 12:18:08 +02:00
Michael Zetterberg
7bbb8915b3 fix: improve error handling
- Do not throw in onError callback for server client. This lets the originating error bubble to Next.js.
- Do not log errors inside the service token procedure, server client onError callback will log all procedure errors.
- Log errors for fetching service token failure.
2024-10-11 10:42:40 +02:00
Christel Westerberg
95ff011bdb fix: add args as keyParts for unstable_cache 2024-10-09 16:49:15 +02:00
Christel Westerberg
71b03143ce fix: refactor scopes for service token 2024-10-09 16:46:53 +02:00
Christel Westerberg
2ea0adbf98 fix: handle cache tags for service tokens 2024-10-09 16:46:53 +02:00
Christel Westerberg
1c0025a55a fix: separate scopes in service token 2024-09-30 11:26:52 +02:00
Christel Westerberg
56cd02f90b feat(SW-353): dynamic rewards 2024-09-26 11:52:07 +02:00
Chuma McPhoy
aa38e82698 refactor: add hotel scope to service token fetch & enable hotel API 2024-08-21 10:31:52 +02:00
Chuma McPhoy
ed379202c8 refactor(SW-188): replace anon or auth procedure with serviceProcedure 2024-08-21 10:31:52 +02:00
Chuma McPhoy
a1a0a73e3a chore: use correct env var in fetch service token function 2024-08-21 10:31:52 +02:00
Chuma McPhoy
1ff6cd267d feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications 2024-08-21 10:31:52 +02:00