Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Moujuruo/AI_Office into unf…
Browse files Browse the repository at this point in the history
…inished_test
  • Loading branch information
Moujuruo committed Jun 7, 2024
2 parents bea1a99 + c855c92 commit 0b1889f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions backend/run_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def insertActivity():
return json.dumps(re)
except Exception as e:
return json.dumps({'code': -4, 'message': str(e)}), 500
return json.dumps({'code': -4, 'message': str(e)}), 500

@app.route(apiPrefix + 'getActivityList/<int:job>')
def getActivityList(job):
Expand Down
6 changes: 1 addition & 5 deletions frontend/src/pages/Reservation/MyReservation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ import moment from 'moment';
import dayjs from 'dayjs';
import HttpUtil from '../../utils/HttpUtil';
import ApiUtil from '../../utils/ApiUtil';

interface ApiResponse<T> {
status: number;
data: T;
}
import { ApiResponse } from "../../utils/ApiUtil";

interface Reservation {
id: number;
Expand Down

0 comments on commit 0b1889f

Please sign in to comment.