nestjsplus / cookies

Decorators for Managing Cookies with NestJS
MIT License
35 stars 11 forks source link

refactor(intercptor): use rxjs instead of promises #4

Closed jmcdo29 closed 4 years ago

jmcdo29 commented 4 years ago

Super quick update to the code to change the interceptor from running toPromise and the relative code afterwards to using the .pipe method and tap operator. Everything runs as expected.

Fix: #3

johnbiundo commented 4 years ago

Merged into 1.0.4 release. Thanks @jmcdo29 !