PranilDahal / Eagle-Post

Eagle-Post: Social Media Software Project - ACM Cal State LA
11 stars 2 forks source link

ssu EDIT functionality #17

Open calstatelaacm opened 6 years ago

calstatelaacm commented 6 years ago

You will be coding inside SsuControllers.java AND SsuFactory.java

Implement edit functionality for SSU in the backend.

updateById(@PathVariable("ssuid") String ssuid, @RequestBody SsuPostData dataToUpdate)

    public SimpleStatusUpdate updateById(String ssuid, SsuPostData dataToUpdate) {

                      // CODE HERE

    }

The controller must send back an update SSU in json format.