gotounix
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
2 deletions
-
apps/backend-mock/api/timezone/setTimezone.ts
|
|
|
@ -1,7 +1,11 @@ |
|
|
|
import { eventHandler, readBody } from 'h3'; |
|
|
|
import { eventHandler, readBody, setResponseStatus } from 'h3'; |
|
|
|
import { verifyAccessToken } from '~/utils/jwt-utils'; |
|
|
|
import { TIME_ZONE_OPTIONS } from '~/utils/mock-data'; |
|
|
|
import { unAuthorizedResponse, useResponseSuccess } from '~/utils/response'; |
|
|
|
import { |
|
|
|
unAuthorizedResponse, |
|
|
|
useResponseError, |
|
|
|
useResponseSuccess, |
|
|
|
} from '~/utils/response'; |
|
|
|
import { setTimezone } from '~/utils/timezone-utils'; |
|
|
|
|
|
|
|
export default eventHandler(async (event) => { |
|
|
|
|