Fakultas Ilmu Komputer UI

Commit b616dfb2 authored by sirinbaisa's avatar sirinbaisa
Browse files

Merge branch 'UserStory2' of https://gitlab.com/PPL2017csui/PPLA1 into UserStory2

parents 5b19eb10 b0421790
......@@ -25,7 +25,8 @@ export default class ModalAlert extends React.Component {
handleOpen() {
const requestData = { coverLetter: this.props.coverLetter };
Server.post(`/students/${this.props.id}/application`, requestData).then((data) => {
let studentId = Storage.post('user-data.student.id');
Server.post(`/students/${studentId}/application`, requestData).then((data) => {
this.setState({
header: 'Pendaftaran Berhasil',
content: this.successResponse + JSON.stringify(data),
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment