File tree Expand file tree Collapse file tree 3 files changed +11
-19
lines changed
Expand file tree Collapse file tree 3 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 1- export interface groupPost {
2- name : string ;
3- description : string ;
4- groupCapacity : number ;
5- beginAt : string ;
6- endAt : string ;
1+ export interface groupPost {
2+ address : string ;
73 latitude : number ;
84 longitude : number ;
9- address : string ;
5+ groupCapacity : number ;
6+ beginAt : string ;
7+ endAt : string ;
8+ name ?: string ; // 선택적으로 변경
9+ description ?: string ;
1010}
1111export interface groupModalApiData {
1212
Original file line number Diff line number Diff line change 11import {
22 DropdownMenuItem ,
33} from '../../dropdown-menu' ;
4- import {
5- AlertDialog ,
6- AlertDialogAction ,
7- AlertDialogCancel ,
8- AlertDialogContent ,
9- AlertDialogDescription ,
10- AlertDialogFooter ,
11- AlertDialogHeader ,
12- AlertDialogTitle ,
13- AlertDialogTrigger ,
14- } from "@/components/ui/alert-dialog"
4+
155import { logout } from '../lib/logout' ;
166
177export const LogoutButton = ( ) => {
Original file line number Diff line number Diff line change 1+ import { fetchWithAuth } from "@/app/(afterLogin)/_lib/FetchWithAuth" ;
2+
13export const getAccessTokenWithRefreshToken = async ( ) => {
2- const response = await fetch ( `${ process . env . NEXT_PUBLIC_API_LOCATION } /api/tokens` , {
4+ const response = await fetchWithAuth ( `${ process . env . NEXT_PUBLIC_API_LOCATION } /api/tokens` , {
35 method : 'POST' ,
46 headers : {
57 'Content-Type' : 'application/json' ,
You can’t perform that action at this time.
0 commit comments