Skip to content

Commit 8a2e649

Browse files
authoredMar 6, 2025
fix: ui bugs (#1358)
* fix: qa * fix: qa * fix: qa * fix: qa * Merge branch 'dev' into 'fix/qa' * fix: query converter * fix: query converter * fix: qa * fix: all * fix: auth * fix: session storage to cookie
1 parent 09066f8 commit 8a2e649

File tree

204 files changed

+1727
-2574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+1727
-2574
lines changed
 

‎apps/api/src/domains/admin/auth/auth.controller.ts

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export class AuthController {
105105
}
106106

107107
@UseGuards(UseOAuthGuard)
108+
@ApiQuery({ name: 'code', required: false })
109+
@ApiOkResponse({ type: SignInResponseDto })
108110
@Get('signIn/oauth')
109111
async handleCallback(@Query() query: { code: string }) {
110112
return await this.authService.signInByOAuth(query.code);

‎apps/api/src/domains/admin/auth/exceptions/password-not.match.exception.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* License for the specific language governing permissions and limitations
1414
* under the License.
1515
*/
16-
import { UnauthorizedException } from '@nestjs/common';
16+
import { NotFoundException } from '@nestjs/common';
1717

1818
import { ErrorCode } from '@ufb/shared';
1919

20-
export class PasswordNotMatchException extends UnauthorizedException {
20+
export class PasswordNotMatchException extends NotFoundException {
2121
constructor() {
2222
super({
2323
code: ErrorCode.Auth.PasswordNotMatch,

0 commit comments

Comments
 (0)
Please sign in to comment.