File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/b3log/symphony/processor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ public static void register() {
244244 Dispatcher .get ("/user/{userName}" , userProcessor ::getUserInfo );
245245 Dispatcher .get ("/user/liveness" , userProcessor ::getLiveness , loginCheck ::handle );
246246 Dispatcher .post ("/user/liveness" , userProcessor ::getUserLiveness );
247- Dispatcher .get ("/user/{userName}/metal " , userProcessor ::getUserMetal , userCheckMidware ::handle );
247+ Dispatcher .get ("/user/{userName}/medal " , userProcessor ::getUserMedal , userCheckMidware ::handle );
248248 Dispatcher .get ("/user/{userName}/point" , userProcessor ::getUserPoint );
249249 Dispatcher .post ("/user/query/latest-login-ip" , userProcessor ::getLatestLoginIp );
250250 Dispatcher .post ("/user/edit/give-metal" , userProcessor ::giveMetal );
@@ -707,7 +707,7 @@ public void getLatestLoginIp(final RequestContext context) {
707707 *
708708 * @param context
709709 */
710- public void getUserMetal (final RequestContext context ) {
710+ public void getUserMedal (final RequestContext context ) {
711711 final String userName = context .pathVar ("userName" );
712712 final JSONObject user = userQueryService .getUserByName (userName );
713713 String userId = user .optString (Keys .OBJECT_ID );
You can’t perform that action at this time.
0 commit comments