mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
Remove sync reader as it is no longer necessary
This commit is contained in:
parent
8c4336b442
commit
12a7825d99
|
|
@ -1,20 +0,0 @@
|
||||||
package readers
|
|
||||||
|
|
||||||
import (
|
|
||||||
"net/http"
|
|
||||||
|
|
||||||
"github.com/matrix-org/dendrite/clientapi/auth"
|
|
||||||
"github.com/matrix-org/util"
|
|
||||||
)
|
|
||||||
|
|
||||||
// Sync implements /sync
|
|
||||||
func Sync(req *http.Request) util.JSONResponse {
|
|
||||||
logger := util.GetLogger(req.Context())
|
|
||||||
userID, resErr := auth.VerifyAccessToken(req)
|
|
||||||
if resErr != nil {
|
|
||||||
return *resErr
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.WithField("userID", userID).Info("Doing stuff...")
|
|
||||||
return util.MessageResponse(404, "Not implemented yet")
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue