Skip to content

Commit a5e8a02

Browse files
authored
Merge pull request #28 from Sysone-Mini-2nd/chore/작성자표시
chore: 작성자 표시
2 parents 0d52610 + 77aaff9 commit a5e8a02

File tree

112 files changed

+121
-130
lines changed

Some content is hidden

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

112 files changed

+121
-130
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import globals from 'globals'
33
import reactHooks from 'eslint-plugin-react-hooks'
44
import reactRefresh from 'eslint-plugin-react-refresh'
55
import { defineConfig, globalIgnores } from 'eslint/config'
6-
6+
/** 작성자: 김대호 */
77
export default defineConfig([
88
globalIgnores(['dist']),
99
{

src/Router.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ShareCalendar from "./pages/ShareCalendar";
88
import HumanResources from "./pages/HumanResources";
99
import PrivateRoute from "./components/common/loading/PrivateRoute";
1010
import RoleProtectedRoute from "./components/common/loading/RoleProtectedRoute";
11-
11+
/** 작성자: 김대호 */
1212
const router = createBrowserRouter([
1313
{
1414
path: "/login",

src/api/authAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 김대호 */
33
// 로그인
44
export const login = async (accountId, password) => {
55
try {

src/api/chatApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 조윤상 */
33
// 공통 API 호출 함수
44
const apiCall = (method, url, data = null, params = null) => {
55
return api({

src/api/client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** 작성자: 김대호 */
12
// import axios from 'axios';
23

34
// // axios 인스턴스 생성

src/api/commentAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 백승준 */
33
export const getComments = async (issueId) => {
44
try {
55
const response = await api.get(`/issues/${issueId}/comments`);

src/api/dashboardAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client.js';
2-
2+
/** 작성자: 김대호 */
33
/**
44
* 대시보드 프로젝트 리스트를 가져오는 API 함수
55
* @returns {Promise<Object>} 프로젝트 데이터가 포함된 응답 객체

src/api/meetingAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 김대호, 배지원 */
33
// 회의록 생성
44
export const createMeeting = async (projectId, meetingData, audioFile = null) => {
55
try {

src/api/memberAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 김대호 */
33
// 회원 목록 조회
44
export const getMembers = async () => {
55
try {

src/api/projectAPI.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import api from './client';
2-
2+
/** 작성자: 백승준 */
33
export const getProjects = async (params = {}) => {
44
try {
55
const response = await api.get('/projects', { params });
@@ -69,7 +69,6 @@ export const deleteProject = async (projectId) => {
6969

7070
export const createProjectMember = async (projectId, memberId) => {
7171
try {
72-
// memberId를 JSON 객체로 감싸서 전송합니다.
7372
const response = await api.post(`/projects/${projectId}/members`, memberId);
7473
return response.data;
7574
} catch (error) {
@@ -80,7 +79,6 @@ export const createProjectMember = async (projectId, memberId) => {
8079

8180
export const deleteProjectMember = async (projectId, memberId) => {
8281
try {
83-
// DELETE 요청 시 body는 { data: ... } 객체 안에 넣어주어야 합니다.
8482
const response = await api.delete(`/projects/${projectId}/members`, { data: { memberId } });
8583
return response.data;
8684
} catch (error) {

0 commit comments

Comments
 (0)